Open LarryHuaLong opened 11 months ago
https://github.com/mollismerx/elfspy/blob/61629ee4ff9b37c04f2eb475366d6cc0173d9811/ELFInfo.cpp#L207C61-L207C61
When I test elfspy on arm64 kernel, I got a failure on mprotect. Then I found out that PROT_EXEC is no needed here, so I tried to remove it, and it works well.
Hope this is useful for guys have the same problem!
https://github.com/mollismerx/elfspy/blob/61629ee4ff9b37c04f2eb475366d6cc0173d9811/ELFInfo.cpp#L207C61-L207C61
When I test elfspy on arm64 kernel, I got a failure on mprotect. Then I found out that PROT_EXEC is no needed here, so I tried to remove it, and it works well.
Hope this is useful for guys have the same problem!