diff --git a/bdsx/version.bat b/bdsx/version.bat index 7b6238f..3ee3244 100644 --- a/bdsx/version.bat +++ b/bdsx/version.bat @@ -1,2 +1,2 @@ -set BDSX_CORE_VERSION=1.0.13.2 +set BDSX_CORE_VERSION=1.0.13.3 diff --git a/pdbcachegen/pdbcachegen.cpp b/pdbcachegen/pdbcachegen.cpp index a429d32..cb24fd3 100644 --- a/pdbcachegen/pdbcachegen.cpp +++ b/pdbcachegen/pdbcachegen.cpp @@ -141,6 +141,10 @@ int wmain(int argn, const wchar_t** args) { size_t dupMax = 0; for (Symbol& sym : symbols) { + const char16_t* nullend = sym.name.find(u'\0'); + if (nullend != nullptr) { + sym.name.cut_self(nullend); // Invalid symbol + } uint32_t hash = hashString(sym.name); uint32_t rva = intact((uint64_t)sym.address - base); if (hash == mainHash && sym.name == mainText) {