mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Merge remote-tracking branch 'origin/GP-4245_ghizard_Split_PDB_Universal_Analyzer_into_multiple_phases'
This commit is contained in:
commit
f5ed1128aa
13 changed files with 540 additions and 218 deletions
|
@ -196,9 +196,10 @@ public class Pagedump extends DumpFile {
|
|||
try (AbstractPdb pdb = PdbParser.parse(pdbFile, readerOptions, monitor)) {
|
||||
monitor.setMessage("PDB: Parsing " + pdbFile + "...");
|
||||
pdb.deserialize();
|
||||
DefaultPdbApplicator applicator = new DefaultPdbApplicator(pdb);
|
||||
applicator.applyTo(program, dtm, program.getImageBase(), applicatorOptions,
|
||||
(MessageLog) null);
|
||||
DefaultPdbApplicator applicator =
|
||||
new DefaultPdbApplicator(pdb, program, program.getDataTypeManager(),
|
||||
program.getImageBase(), applicatorOptions, (MessageLog) null);
|
||||
applicator.applyNoAnalysisState();
|
||||
}
|
||||
catch (PdbException | IOException | CancelledException e) {
|
||||
Msg.error(this, e.getMessage());
|
||||
|
@ -557,7 +558,7 @@ public class Pagedump extends DumpFile {
|
|||
private boolean isValid(int flags) {
|
||||
return (flags & 0x1) > 0;
|
||||
}
|
||||
|
||||
|
||||
private void walkPages(int page, long va, int depth, boolean lp) throws IOException {
|
||||
long fileOffset = fileOffset(page);
|
||||
if (fileOffset < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue