mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
fix(nid): remove jump_slot records filtering
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user