You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a possible scenario, if the target library is not already loaded in current process, i.e, whale::FindExecuteMemoryRange returns empty whale::MemoryRange. And the library would be loaded by WDynamicLibOpen with readonly protection. Therefore the function resolved by WDynamicLibSymbol should be resided in the same readonly region, causing an attempted call of these functions to raise segment fault error.
The text was updated successfully, but these errors were encountered:
Having realized that library loaded by
WDynamicLibOpen
with memory protection readonly.whale/whale/src/platform/linux/elf_image.cc
Line 195 in 43debbb
There is a possible scenario, if the target library is not already loaded in current process, i.e,
whale::FindExecuteMemoryRange
returns emptywhale::MemoryRange
. And the library would be loaded byWDynamicLibOpen
with readonly protection. Therefore the function resolved byWDynamicLibSymbol
should be resided in the same readonly region, causing an attempted call of these functions to raise segment fault error.The text was updated successfully, but these errors were encountered: