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

Unified Diff: src/trusted/validator_x86/ncdis_segments.h

Issue 625923004: Delete old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 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
« no previous file with comments | « src/trusted/validator_x86/ncdis_decode_tables.c ('k') | src/trusted/validator_x86/ncdis_segments.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator_x86/ncdis_segments.h
diff --git a/src/trusted/validator_x86/ncdis_segments.h b/src/trusted/validator_x86/ncdis_segments.h
deleted file mode 100644
index b9bcac1db68ce52296f8e4ca251c3ea6bf91ebc9..0000000000000000000000000000000000000000
--- a/src/trusted/validator_x86/ncdis_segments.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2011 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/*
- * ncdis_segments.h - Common routine for disassembling a block of code.
- */
-
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCDIS_SEGMENTS_H_
-#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCDIS_SEGMENTS_H_
-
-#ifndef NACL_TRUSTED_BUT_NOT_TCB
-#error("This file is not meant for use in the TCB")
-#endif
-
-#include "native_client/src/shared/utils/types.h"
-#include "native_client/src/trusted/validator/types_memory_model.h"
-
-/* Flags that can be passed to the disassembler */
-typedef enum NaClDisassembleFlag {
- /* Use the full decoder to disassemble the instruction. */
- NaClDisassembleFull,
- /* Use the dissassembler associated with the corresponding decoder. */
- NaClDisassembleValidatorDecoder,
- /* If additional internal information is available about the disassembled
- * instruction, print it also.
- */
- NaClDisassembleAddInternals,
-} NaClDisassembleFlag;
-
-/* Defines an integer to represent sets of possible disassembler flags. */
-typedef uint8_t NaClDisassembleFlags;
-
-/* Converts a NaClDisssembleFlag to the corresponding bit in
- * NaClDisassembleFlags.
- */
-#define NACL_DISASSEMBLE_FLAG(x) (((NaClDisassembleFlags) 1) << (x))
-
-/* Returns Bool flag defining if given flag is in the set of
- * disassemble flags.
- */
-Bool NaClContainsDisassembleFlag(NaClDisassembleFlags flags,
- NaClDisassembleFlag flag);
-
-/* Disassemble the code segment, following the rules specified by
- * the given set of flags.
- *
- * Parameters:
- * mbase - Memory region containing code segment.
- * vbase - PC address associated with first byte of memory region.
- * size - Number of bytes in memory region.
- * flags - Flags to use when decoding.
- */
-void NaClDisassembleSegment(uint8_t* mbase, NaClPcAddress vbase,
- NaClMemorySize size, NaClDisassembleFlags flags);
-
-#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCDIS_SEGMENTS_H_ */
« no previous file with comments | « src/trusted/validator_x86/ncdis_decode_tables.c ('k') | src/trusted/validator_x86/ncdis_segments.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698