|
Last small bit of refactoring.
Move the Win32X86Generator and Patcher classes to non-windows specific names since they can be reused untouched for Elf. Move them from one file to files with matching names while at it.
Store the transformation kind on the generator class so that it can be know if it's PE or Elf.
Unified the TransformationId and ExecutableType enums into a single enum used everywhere (defined in courgette.h since it's now part of the external API).
BUG= chromium-os:22149
TEST=Unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108019
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+35 lines, -264 lines) |
Patch |
 |
M |
courgette/courgette.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
courgette/courgette.gyp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
courgette/disassembler.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
courgette/disassembler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
courgette/disassembler_win32_x86.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
courgette/ensemble.h
|
View
|
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
courgette/ensemble_apply.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
courgette/ensemble_create.cc
|
View
|
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
courgette/patch_generator_x86_32.h
|
View
|
|
2 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
A + |
courgette/patcher_x86_32.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
D |
courgette/win32_x86_generator.h
|
View
|
|
1 chunk |
+0 lines, -133 lines |
0 comments
|
Download
|
 |
D |
courgette/win32_x86_patcher.h
|
View
|
|
1 chunk |
+0 lines, -93 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|