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

Side by Side Diff: src/trusted/validator/x86/testing/enuminsts/text2hex.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 /*
8 * Hexidecimal text to bytes conversion tools.
9 */
10
11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_TESTING_ENUMINSTS_TEXT2BYTES_H_
12 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_TESTING_ENUMINSTS_TEXT2BYTES_H_
13
14 #include "native_client/src/trusted/validator/x86/testing/enuminsts/enuminsts.h"
15
16 /* Reads a line of text defining the sequence of bytes that defines
17 * an instruction, and converts that to the corresponding sequence of
18 * opcode bytes. Returns the number of bytes found. Returning zero implies
19 * that no instruction opcode was found in the given text.
20 * Arguments are:
21 * ibytes - The found sequence of opcode bytes.
22 * itext - The sequence of bytes to convert.
23 * context - String describing the context (i.e. filename or
24 * command line argument description).
25 * line - The line number associated with the context (if negative,
26 * it assumes that the line number shouldn't be reported).
27 */
28 extern int Text2Bytes(InstByteArray ibytes,
29 const char* itext,
30 const char* context,
31 const int line);
32
33 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_TESTING_ENUMINSTS_INPUT_TESTE R_H_ */
OLDNEW
« no previous file with comments | « src/trusted/validator/x86/testing/enuminsts/str_utils.c ('k') | src/trusted/validator/x86/testing/enuminsts/text2hex.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698