fix(nid): remove jump_slot records filtering

This commit is contained in:
boykopovar 2026-08-22 19:35:34 +03:00
parent a5e09e7e16
commit e82abc96c4
2 changed files with 3 additions and 4 deletions

View File

@ -34,6 +34,8 @@ int* __error_nid_postfix() {
}
int atexit_nid_postfix(atexit_func_t func) {
if (func == nullptr)
return 0;
return std::atexit(func);
}

View File

@ -101,10 +101,7 @@ public:
std::vector<NidReference> result;
for (const auto& ref : nidRefs) {
if (ref.RelocationTypeValue == 7) {
auto stubIt = ripTargetToInstrVAddr.find(ref.RelocationAddress);
if (stubIt == ripTargetToInstrVAddr.end()) continue;
if (callTargetToInstrVAddr.count(stubIt->second) > 0)
result.push_back(ref);
result.push_back(ref);
} else {
if (ripTargetToInstrVAddr.count(ref.RelocationAddress) > 0)
result.push_back(ref);