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

Side by Side Diff: courgette/courgette.h

Issue 8477045: Add Elf 32 Support to Courgette. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove debug printf present by mistake. Created 9 years, 1 month 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
« no previous file with comments | « courgette/bsdiff_memory_unittest.cc ('k') | courgette/courgette.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COURGETTE_COURGETTE_H_ 5 #ifndef COURGETTE_COURGETTE_H_
6 #define COURGETTE_COURGETTE_H_ 6 #define COURGETTE_COURGETTE_H_
7 7
8 #include <stddef.h> // Required to define size_t on GCC 8 #include <stddef.h> // Required to define size_t on GCC
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 C_DISASSEMBLY_FAILED = 25, // 48 C_DISASSEMBLY_FAILED = 25, //
49 C_ASSEMBLY_FAILED = 26, // 49 C_ASSEMBLY_FAILED = 26, //
50 C_ADJUSTMENT_FAILED = 27, // 50 C_ADJUSTMENT_FAILED = 27, //
51 }; 51 };
52 52
53 // What type of executable is something 53 // What type of executable is something
54 // This is part of the patch format. Never reuse an id number. 54 // This is part of the patch format. Never reuse an id number.
55 enum ExecutableType { 55 enum ExecutableType {
56 EXE_UNKNOWN = 0, 56 EXE_UNKNOWN = 0,
57 EXE_WIN_32_X86 = 1, 57 EXE_WIN_32_X86 = 1,
58 EXE_ELF_32_X86 = 2,
58 }; 59 };
59 60
60 class SinkStream; 61 class SinkStream;
61 class SinkStreamSet; 62 class SinkStreamSet;
62 class SourceStream; 63 class SourceStream;
63 class SourceStreamSet; 64 class SourceStreamSet;
64 65
65 class AssemblyProgram; 66 class AssemblyProgram;
66 class EncodedProgram; 67 class EncodedProgram;
67 68
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 // Used to free an EncodedProgram returned by other APIs. 133 // Used to free an EncodedProgram returned by other APIs.
133 void DeleteEncodedProgram(EncodedProgram* encoded); 134 void DeleteEncodedProgram(EncodedProgram* encoded);
134 135
135 // Adjusts |program| to look more like |model|. 136 // Adjusts |program| to look more like |model|.
136 // 137 //
137 Status Adjust(const AssemblyProgram& model, AssemblyProgram *program); 138 Status Adjust(const AssemblyProgram& model, AssemblyProgram *program);
138 139
139 } // namespace courgette 140 } // namespace courgette
140 #endif // COURGETTE_COURGETTE_H_ 141 #endif // COURGETTE_COURGETTE_H_
OLDNEW
« no previous file with comments | « courgette/bsdiff_memory_unittest.cc ('k') | courgette/courgette.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698