We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ed2c9b commit 79b4ab1Copy full SHA for 79b4ab1
DefFileGenerator/bindexplib.cpp
@@ -311,7 +311,10 @@ class DumpSymbols
311
symbol.find("$iexit_thunk") == std::string::npos &&
312
symbol.find("$exit_thunk") == std::string::npos)) {
313
if (!pSymbolTable->Type && (SectChar & IMAGE_SCN_MEM_WRITE)) {
314
- // Read only (i.e. constants) must be excluded
+ this->DataSymbols.insert(symbol);
315
+ } else if ((SectChar & IMAGE_SCN_MEM_READ) && !
316
+ (SectChar & IMAGE_SCN_LNK_COMDAT)) {
317
+ // Read only (i.e. constants) only included if not COMDAT
318
this->DataSymbols.insert(symbol);
319
} else {
320
if (pSymbolTable->Type || !(SectChar & IMAGE_SCN_MEM_READ) ||
src/main/resources/arm64/DefFileGenerator.exe
1.5 KB
src/main/resources/x64/DefFileGenerator.exe
0 Bytes
0 commit comments