mirror of
https://github.com/radareorg/radare2.git
synced 2025-04-02 01:22:02 +00:00
Support PDB ages higher than 15 (#11805)
`GUIDSTR_LEN` is currently set to 34, which gives 32 characters for the PDB GUID, 1 character for the PDB age (which is tacked on the end), and the null terminator. However, PDB ages are stored as a uint32, and can thus have a maximum value of `0xFFFFFFFF`, which requires up to 8 characters. PDB ages over 15 can easily be reached by automatic build processes using incremental linking.
This commit is contained in:
parent
c4795fc766
commit
33dab09e20
@ -72,7 +72,7 @@ typedef struct _PE_RESOURCE {
|
||||
Pe_image_resource_data_entry *data;
|
||||
} r_pe_resource;
|
||||
|
||||
#define GUIDSTR_LEN 34
|
||||
#define GUIDSTR_LEN 41
|
||||
#define DBG_FILE_NAME_LEN 255
|
||||
|
||||
typedef struct SDebugInfo {
|
||||
|
Loading…
x
Reference in New Issue
Block a user