chore(nid): restore skip nid_no_patch

This commit is contained in:
boykopovar 2026-09-06 15:06:59 +03:00
parent 6123893998
commit b000880913
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ void ElfNidPatcher::PatchNids(std::vector<std::uint8_t>& elf, const std::string&
if (symName.empty()) continue;
std::string newValue = symName;
if (isPatchable) {
if (isPatchable && !IsNidNoPatch(symName)) {
const std::string stripped = StripNidPostfix(symName);
const bool hasPostfix = stripped != symName;
if (!hasPostfix && seenRawNames.count(symName + "_nid_postfix"))