Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: src/trusted/validator_arm/inst_classes_testers.h

Issue 9960043: Finish separation of testing from sel_ldr validation. Also, automate (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/trusted/validator_arm/inst_classes_testers.h
===================================================================
--- src/trusted/validator_arm/inst_classes_testers.h (revision 8201)
+++ src/trusted/validator_arm/inst_classes_testers.h (working copy)
@@ -9,6 +9,10 @@
#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_
#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_
+#ifndef NACL_TRUSTED_BUT_NOT_TCB
+#error("This file is not meant for use in the TCB")
+#endif
+
#include "native_client/src/trusted/validator_arm/decoder_tester.h"
namespace nacl_arm_test {
@@ -28,11 +32,13 @@
// Rs - The regsiter whose bottom byte contains the amount to shift by.
// type - The type of shift to apply (not modeled).
// S - Defines if the flags regsiter is updated.
-class Binary4RegisterShiftedOpTester : public Arm32DecoderTester {
+class Binary4RegisterShiftedOpTesterRegsNotPc : public Arm32DecoderTester {
public:
- explicit Binary4RegisterShiftedOpTester();
- virtual void ApplySanityChecks(nacl_arm_dec::Instruction inst,
- const nacl_arm_dec::ClassDecoder& decoder);
+ explicit Binary4RegisterShiftedOpTesterRegsNotPc(
+ const NamedClassDecoder &decoder);
+ virtual void ApplySanityChecks(
+ nacl_arm_dec::Instruction inst,
+ const NamedClassDecoder& decoder);
};
} // namespace
Property changes on: src/trusted/validator_arm/inst_classes_testers.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698