Mike Auty
4c2a29ae01
Convert to ruamel.yaml and allow \x7f characters, since llvm sometimes outputs them.
2019-01-27 18:20:59 +00:00
Mike Auty
35451e3514
Initial attempt at supporting symbols from llvm-8.
2019-01-25 01:35:36 +00:00
Mike Auty
43cc7b836c
Fix small typo in llvm2json utility.
2019-01-25 01:35:00 +00:00
Mike Auty
db63b2b345
Add support for directly running llvm-pdbutil.
2019-01-21 01:24:16 +00:00
Mike Auty
2080d5625f
Update llvm2json with metadata and a command line parser.
2019-01-21 01:15:40 +00:00
Mike Auty
1071dca087
Add in a rudimentary (read ugly) convertor for llvm pdb2yaml files.
...
This will need some help from @npetroni in places, but produces
close-to-identical JSON files for pdbs.
It does not yet produce metadata, base_types, or any symbols (since
they aren't exported by llvm-pdbutil's pdb2yaml) or base_types.
Ideally all of those can be fixed over time, but the symbols will
require changing llvm. 5:(
2019-01-20 00:10:06 +00:00
Mike Auty
e65a00894a
Minor style tweaks and mass changes across the codebase because of it.
2018-12-17 12:46:14 +00:00
Mike Auty
19572b6e1e
Reformat all python files using yapf with custom volatility style.
2018-12-16 16:50:17 +00:00
Mike Auty
a07691b04f
Ensure scanners don't return duplicates in the overlap.
2018-05-13 20:55:54 +01:00
Mike Auty
a05dbe708d
Fix up the issue @imhlv2 found in schema_validate.
2018-05-07 10:07:56 +01:00
Mike Auty
46ed044774
Improve the schema validation tool.
2017-09-17 19:51:45 +01:00
Mike Auty
c38210b8a5
Add the harness for using the nlpdtbfinder.
2017-07-01 23:16:00 +01:00
Mike Auty
6e80303e0c
Update pdbscanner to match the latest API.
2017-06-01 00:34:33 +01:00
Mike Auty
371aca2808
Fix up development code with previous changes to the ContextInterface.
2017-01-23 01:05:05 +00:00
Nick L. Petroni, Jr
1b532a0b47
fix pdbscanner standalone utility -- scan() API changed
2016-12-23 11:26:41 -05:00
Mike Auty
ab9c0860c8
Update the schema validator toy to include debugging information.
2016-11-07 12:37:24 +00:00
Mike Auty
96800818af
Show exceptions as debugging information when failed to validate, and allow disabling of cache.
2016-11-07 12:36:53 +00:00
Mike Auty
282eaa7f00
Improve/remove unnecessary imports.
2016-11-07 12:26:06 +00:00
Mike Auty
96a7a56edd
Commit the initial JSON schema for the intermediate format.
2016-11-06 01:48:01 +00:00
Mike Auty
df2172754c
Refactor the pdbscanning code so it doesn't sneak into the library accidentally.
2016-11-01 23:32:12 +00:00
Mike Auty
ea9ff20ca0
The sorted function requires a keyword argument for the key.
2016-10-04 09:43:55 +01:00
Mike Auty
bfcc6661c7
Sort by largest pointer size found during self-referential searches.
2016-10-01 23:04:21 +01:00
Mike Auty
d232be2f6e
Try to update the generic dtb finder to rule out false positives.
2016-10-01 22:13:42 +01:00
Mike Auty
1a83470993
Convert dtbfinder to a standalone app.
...
This is in development so that it's clearly not production code
(and should not expect to be supported as such).
2016-09-25 19:33:04 +01:00