mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge branch 'GP-2428_ryanmkurtz_PR-4501_xiaoyinl_pdbpath'
This commit is contained in:
@@ -103,8 +103,8 @@ public class PdbInfoCodeView implements StructConverter, PdbInfo {
|
||||
struct.add(new DWordDataType(), "offset", null);
|
||||
struct.add(new DWordDataType(), "sig", null);
|
||||
struct.add(new DWordDataType(), "age", null);
|
||||
if (pdbName.length() > 0) {
|
||||
struct.add(new StringDataType(), pdbName.length(), "pdbname", null);
|
||||
if (pdbPath.length() > 0) {
|
||||
struct.add(new StringDataType(), pdbPath.length(), "pdbpath", null);
|
||||
}
|
||||
struct.setCategoryPath(new CategoryPath("/PDB"));
|
||||
return struct;
|
||||
|
||||
@@ -121,8 +121,8 @@ public class PdbInfoDotNet implements StructConverter, PdbInfo {
|
||||
struct.add(new StringDataType(), magic.length, "signature", null);
|
||||
struct.add(new GuidDataType(), "guid", null);
|
||||
struct.add(new DWordDataType(), "age", null);
|
||||
if (pdbName.length() > 0) {
|
||||
struct.add(new StringDataType(), pdbName.length(), "pdbname", null);
|
||||
if (pdbPath.length() > 0) {
|
||||
struct.add(new StringDataType(), pdbPath.length(), "pdbpath", null);
|
||||
}
|
||||
struct.setCategoryPath(new CategoryPath("/PDB"));
|
||||
return struct;
|
||||
|
||||
Reference in New Issue
Block a user