ngoquang2708 / android_device_samsung_vivalto3gvn

Device tree for Samsung Galaxy V SM-G313HZ
7 stars 8 forks source link

Cannot shim some functions referenced by libreference-ril_sp.so using LD_PRELOAD #113

Open ngoquang2708 opened 6 years ago

ngoquang2708 commented 6 years ago

Cannot shim the following function using LD_PRELOAD:

property_get
property_set
strncmp

The library will crash upon calling our shimmed functions. If we modify the name of the function in the binary, LD_PRELOAD will work!?? Would the order of the way bionic load symbols causes this issue? This issue only appear from O onward.