mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-4025 - PDB - Use ByteProvider in place of RandomAccessFile
This commit is contained in:
parent
c225fac124
commit
4da04423bd
15 changed files with 152 additions and 114 deletions
|
@ -141,12 +141,11 @@ class LoadPdbTask extends Task {
|
|||
|
||||
pdbApplicatorOptions.setProcessingControl(control);
|
||||
|
||||
try (AbstractPdb pdb = ghidra.app.util.bin.format.pdb2.pdbreader.PdbParser.parse(
|
||||
pdbFile.getAbsolutePath(), pdbReaderOptions, monitor)) {
|
||||
try (AbstractPdb pdb = ghidra.app.util.bin.format.pdb2.pdbreader.PdbParser.parse(pdbFile,
|
||||
pdbReaderOptions, monitor)) {
|
||||
monitor.setMessage("PDB: Parsing " + pdbFile + "...");
|
||||
pdb.deserialize();
|
||||
DefaultPdbApplicator applicator =
|
||||
new DefaultPdbApplicator(pdb);
|
||||
DefaultPdbApplicator applicator = new DefaultPdbApplicator(pdb);
|
||||
applicator.applyTo(program, program.getDataTypeManager(), program.getImageBase(),
|
||||
pdbApplicatorOptions, log);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue