decaf-project / DECAF

DECAF (short for Dynamic Executable Code Analysis Framework) is a binary analysis platform based on QEMU. This is also the home of the DroidScope dynamic Android malware analysis platform. DroidScope is now an extension to DECAF.
GNU General Public License v3.0
807 stars 168 forks source link

Loading plugin causes crash #59

Open dkfulp opened 5 years ago

dkfulp commented 5 years ago

I can load my plugin fine a few times, but when I unload the plugin and then reload it a couple of times, decaf seg faults.

The full process goes:

  1. load_plugin A
  2. .... use plugin ....
  3. unload_plugin
  4. Go back to step 1 and repeat

Any ideas why it is seg_faulting?

hengyin commented 5 years ago

There might be a bug that a callback created by the plugin is not removed properly when the plugin is unloaded. A gdb backtrace would help.

Heng

On Tue, Feb 12, 2019 at 11:37 AM Dakota Fulp notifications@github.com wrote:

I can load my plugin fine a few times, but when I unload the plugin and then reload it a couple of times, decaf seg faults.

The full process goes:

  1. load_plugin A
  2. .... use plugin ....
  3. unload_plugin
  4. Go back to step 1 and repeat

Any ideas why it is seg_faulting?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sycurelab/DECAF/issues/59, or mute the thread https://github.com/notifications/unsubscribe-auth/ACydRl_OfVFeWKkYGl0Ab2eNHNuOrFNPks5vMxfcgaJpZM4a352g .