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

Unified Diff: src/trusted/validator/x86/ncval_seg_sfi/ncdecode_verbose.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
Index: src/trusted/validator/x86/ncval_seg_sfi/ncdecode_verbose.h
diff --git a/src/trusted/validator/x86/ncval_seg_sfi/ncdecode_verbose.h b/src/trusted/validator/x86/ncval_seg_sfi/ncdecode_verbose.h
deleted file mode 100644
index 603e780f6228f5faa639b03981182e08f93a0120..0000000000000000000000000000000000000000
--- a/src/trusted/validator/x86/ncval_seg_sfi/ncdecode_verbose.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 2012 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.
- */
-
-/*
- * ncdecode_verbose.h - Print routines for validator that are
- * not to be loaded into sel_ldr.
- */
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_SEG_SFI_NCDECODE_VERBOSE_H_
-#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_SEG_SFI_NCDECODE_VERBOSE_H_
-
-#include <stdio.h>
-#include "native_client/src/trusted/validator/x86/error_reporter.h"
-#include "native_client/src/trusted/validator/types_memory_model.h"
-
-struct NCDecoderInst;
-struct Gio;
-
-/*
- * Run the decoder and print out the decoded instructions.
- * Note: Prints to NaClLogGetGio().
- *
- * Parameters are:
- * mbase - The beging of the memory segment to decode.
- * vbase - The (virtual) base address of the memory segment.
- * sz - The number of bytes in the memory segment.
- * vstate - validator state (or NULL) to use with callbacks.
- */
-extern void NCDecodeSegment(uint8_t* mbase, NaClPcAddress vbase,
- NaClMemorySize sz);
-
-/* Print out the instruction (including the sequence of disassembled
- * hexidecimal bytes) to the given file.
- */
-extern void NCPrintInstWithHex(const struct NCDecoderInst* inst,
- struct Gio* file);
-
-/* Print out the instruction (excluding the sequence of disassembled
- * hexidecimal bytes) to the given file.
- */
-extern void NCPrintInstWithoutHex(const struct NCDecoderInst* inst,
- struct Gio* file);
-
-/* Generate a (malloc allocated) string describing the instruction (including
- * the sequence of disassembled hexidecimal bytes).
- */
-extern char* NCInstWithHexToString(const struct NCDecoderInst* inst);
-
-/* Generate a (malloc allocated) string describing the instruction (excluding
- * the sequence of disassembled hexidecimal bytes).
- */
-extern char* NCInstWithoutHexToString(const struct NCDecoderInst* inst);
-
-/* Verbose error reporter for a NCDecoderInst* that reports to
- * NaClLogGetGio().
- */
-extern NaClErrorReporter kNCVerboseErrorReporter;
-
-#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_SEG_SFI_NCDECODE_VERBOSE_H_ */
« no previous file with comments | « src/trusted/validator/x86/ncval_seg_sfi/ncdecode_aux.h ('k') | src/trusted/validator/x86/ncval_seg_sfi/ncdecode_verbose.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698