Closed CcWeapon closed 2 years ago
Hello, could you please try -use-gnu-stack option?
Hello, could you please try -use-gnu-stack option?
I tried it and it didn't work.
Today, I found that patchELFGOT() caused the problem. However, the exact reason still needs to be found..
I use Bolt to optimize libart.so which is compiled by AOSP. Then I push libart.so.bolt to Android Phone, and runtime aborted at art::Runtime::Start(). The reason why runtime aborted is getSystemClassLoader() in java got a nullptrException. What puzzles me is why I've changed the c++ binaries to affect the running of java.
I'm trying to cut down on bolt. I set ignore for all func to avoid modifying the text section. I close all passes. Set the .data section not to be processed. Only a copy of the .eh_frame segment is now copied for binary modifications.
But it's no use. Who can help me?