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
Hi, I am very impressed the research VirtualSwindle based on ddi tool. :)
So, I want to use this tool to see method call. But, when I hook a method with ddi tool, some apps crash with segmentation fault.
I just hooked a method named toString() as the sample code strmon.c. My toy app works well; but some apps crash with segmentation fault. For example, I tried hooking toString() in the application Kakao talk, which is famous messenger app in Korea.
I asked this issue to Collin by mail. He answered it is likely that the function is called by multiple threads. It will lead to a crash. I confirmed that kakaotalk is implemented with threads.
So, my question is how can I make this tool work in multithread environment. Do you have any idea? Can you give me a hint where I should modify the tool?
The text was updated successfully, but these errors were encountered:
seoyoonm
changed the title
App crashes with segmentation fault
multithreaded programs with ddi tool
Nov 24, 2014
I want to know the reason why the ddi tool gives segmentation fault in the multithreaded application. Do they race on the library function? But, the application works well with the function( e.x.,toString() ) in java. Then, why the application have segmentation fault not in java method but in library function?
Hi, I am very impressed the research VirtualSwindle based on ddi tool. :)
So, I want to use this tool to see method call. But, when I hook a method with ddi tool, some apps crash with segmentation fault.
I just hooked a method named
toString()
as the sample codestrmon.c
. My toy app works well; but some apps crash with segmentation fault. For example, I tried hookingtoString()
in the application Kakao talk, which is famous messenger app in Korea.I asked this issue to Collin by mail. He answered it is likely that the function is called by multiple threads. It will lead to a crash. I confirmed that kakaotalk is implemented with threads.
So, my question is how can I make this tool work in multithread environment. Do you have any idea? Can you give me a hint where I should modify the tool?
The text was updated successfully, but these errors were encountered: