fix(nid): remove jump_slot records filtering
This commit is contained in:
parent
a5e09e7e16
commit
e82abc96c4
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue