Skip to content

Commit

Permalink
fix PE debug age
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackINT3 committed Jun 13, 2019
1 parent c3ccfa5 commit 9364cdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OpenArk/scanner/scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,7 @@ void Scanner::RefreshDebug()
auto name_size = (DWORD)strlen(name);
if (name_size && name_size < MAX_PATH) pdb = name;
GUID guid = ((UNONE::CV_INFO_PDB70*)cv_hdr)->Signature;
age = ((UNONE::CV_INFO_PDB70*)cv_hdr)->Age;
guidsig = UNONE::StrFormatA("{%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}",
guid.Data1,
guid.Data2,
Expand Down

0 comments on commit 9364cdb

Please sign in to comment.