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
I'm testing the example hello_mips32el_linux_function_hook.py, it should allow the executable to execute its code and intercept before the function is called and after it exits, but this doesn't happen. The QL_INTERCEPT.ENTER configuration completely blocks execution by taking control.
here the output with script hello_mips32el_linux_function_hook.py
$ python3 hello_mips32el_linux_function_hook.py
puts("hello1")
after puts
puts("hello2")
after puts
The call to puts which print hello1 and hello2 are removed, I think is wrong.
This is the output with script hello_mips32el_linux_function_hook.py without QL_INTERCEPT.ENTER
$ python3 hello_mips32el_linux_function_hook.py
hello1
after puts
hello2
after puts
I tested with QL_INTERCEPT.CALL and I get the same output, so there is no difference between QL_INTERCEPT.ENTER and QL_INTERCEPT.CALL.
All these tests are done with latest stable 14.6 and with latest dev commit, same result.
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
-
I'm testing the example hello_mips32el_linux_function_hook.py, it should allow the executable to execute its code and intercept before the function is called and after it exits, but this doesn't happen. The QL_INTERCEPT.ENTER configuration completely blocks execution by taking control.
This is the normal behavihour of executable:
here the output with script hello_mips32el_linux_function_hook.py
The call to puts which print hello1 and hello2 are removed, I think is wrong.
This is the output with script hello_mips32el_linux_function_hook.py without QL_INTERCEPT.ENTER
I tested with QL_INTERCEPT.CALL and I get the same output, so there is no difference between QL_INTERCEPT.ENTER and QL_INTERCEPT.CALL.
All these tests are done with latest stable 14.6 and with latest dev commit, same result.
Is it an issue or is the normal behaviour?
Beta Was this translation helpful? Give feedback.
All reactions