|
Make Decomposer::DecomposedImage serializable.
Adds serialization to Decomposer::DecomposedImage. Since this is a 'deep' data structure with pointers flying everywhere, this involves some serialization trickery, and the addition of serialization to many basic types (BlockGraph, AddressSpace, etc). Loading a BlockGraph from its serialized form is 5x faster than redecomposing the entire thing from a warm PDB file.
Creates 'decompose', a new tool for decomposing an image and serializing its BlockGraph representation. The aim will be to make each tool in the toolchain optionally load a block graph directly, rather than redecomposing. The serialized format contains metadata for validating that it has been generated with a compatible version of the toolchain.
Split core/unittest_util.* into a new static library so that the pe unittests can also use the functionality present there.
Added a bunch of unittests for the new functionality.
Committed: http://code.google.com/p/sawbuck/source/browse/#svn/trunk393
Total comments: 50
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1143 lines, -98 lines) |
Patch |
|
M |
syzygy/common/syzygy_version.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
syzygy/core/address.h
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
syzygy/core/address_space.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/core/block_graph.h
|
View
|
1
2
|
7 chunks |
+43 lines, -1 line |
0 comments
|
Download
|
|
M |
syzygy/core/block_graph.cc
|
View
|
1
2
3
|
4 chunks |
+256 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/core/block_graph_unittest.cc
|
View
|
1
|
2 chunks |
+49 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/core/core.gyp
|
View
|
1
|
2 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
syzygy/core/serialization.h
|
View
|
1
|
4 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
|
M |
syzygy/core/serialization.cc
|
View
|
1
2
3
|
2 chunks |
+36 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/core/serialization_impl.h
|
View
|
1
2
3
|
2 chunks |
+15 lines, -20 lines |
0 comments
|
Download
|
|
M |
syzygy/core/unittest_util.h
|
View
|
1
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
A |
syzygy/core/unittest_util.cc
|
View
|
1
2
|
1 chunk |
+104 lines, -0 lines |
0 comments
|
Download
|
|
A |
syzygy/pe/decompose_main.cc
|
View
|
1
2
|
1 chunk |
+253 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/pe/decomposer.h
|
View
|
1
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/pe/decomposer.cc
|
View
|
1
2
|
6 chunks |
+212 lines, -18 lines |
0 comments
|
Download
|
|
M |
syzygy/pe/decomposer_unittest.cc
|
View
|
1
|
2 chunks |
+43 lines, -1 line |
0 comments
|
Download
|
|
M |
syzygy/pe/metadata.h
|
View
|
1
|
2 chunks |
+2 lines, -20 lines |
0 comments
|
Download
|
|
M |
syzygy/pe/metadata.cc
|
View
|
1
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/pe/metadata_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
syzygy/pe/pe.gyp
|
View
|
1
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
syzygy/pe/pe_file.h
|
View
|
1
|
3 chunks |
+5 lines, -21 lines |
0 comments
|
Download
|
|
M |
syzygy/pe/pe_file.cc
|
View
|
1
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10
|