Skip to content

Commit

Permalink
core 1.0.13.3
Browse files Browse the repository at this point in the history
cut invalid symbol
  • Loading branch information
karikera committed Aug 26, 2022
1 parent da73ada commit 76fa70a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bdsx/version.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

set BDSX_CORE_VERSION=1.0.13.2
set BDSX_CORE_VERSION=1.0.13.3
4 changes: 4 additions & 0 deletions pdbcachegen/pdbcachegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint32_t>((uint64_t)sym.address - base);
if (hash == mainHash && sym.name == mainText) {
Expand Down

0 comments on commit 76fa70a

Please sign in to comment.