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
When I was doing intergration of lsplant into libart.so. I found a tested hooking of simple jni function (defined in framework-classes) may crash the VM, especially when the java stack dump is performed.
It turns out that the jni method may have built-in oat header cur_oat_quick_method_header_ set, when doing StackVisitor::GetCurrentQuickFrameInfo().
This results in incorrect quick frame size for StackVisitor::WalkStack(bool include_transitions) process.
It can be fixed in art source code, while I think in Lsplant injection logics it may be inevitable.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I was doing intergration of lsplant into libart.so. I found a tested hooking of simple jni function (defined in framework-classes) may crash the VM, especially when the java stack dump is performed.
It turns out that the jni method may have built-in oat header
cur_oat_quick_method_header_
set, when doingStackVisitor::GetCurrentQuickFrameInfo()
.This results in incorrect quick frame size for
StackVisitor::WalkStack(bool include_transitions)
process.It can be fixed in art source code, while I think in Lsplant injection logics it may be inevitable.
Beta Was this translation helpful? Give feedback.
All reactions