mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
GP-5977 refactor DWARF DIE serialization into its own class
This will allow reading DIEs from multiple files.
This commit is contained in:
@@ -37,8 +37,7 @@ public class DWARFMacroScript extends GhidraScript {
|
||||
return;
|
||||
}
|
||||
|
||||
try (DWARFProgram dprog =
|
||||
new DWARFProgram(currentProgram, new DWARFImportOptions(), monitor, dsp)) {
|
||||
try (DWARFProgram dprog = new DWARFProgram(currentProgram, new DWARFImportOptions(), dsp)) {
|
||||
dprog.init(monitor);
|
||||
for (DWARFCompilationUnit cu : dprog.getCompilationUnits()) {
|
||||
dumpMacros(cu.getMacros(), 0);
|
||||
|
||||
Reference in New Issue
Block a user