Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 1022 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 1022 Bytes

Testing

There are currently three IDAPython scripts used to test flare-emu.

  • flare_emu_test.py - Basic tests of the emulateRange and iterate features
  • flare_emu_test_hooks.py - Tests the naive implementations of all the supported CRT and Windows API hooks
  • objc2_analyzer_test.py - Tests the basic functionality of objc2_analyzer.py

The flare_emu_test_<arch> binaries are Mach-O executables that should be loaded into IDA Pro and tested with the flare_emu_test.py IDAPython script.

The flare_emu_winhooks_test_x86.exe binary is a PE executable that should be loaded into IDA Pro and tested with the flare_emu_test_hooks.py IDAPython script. You may need to apply the printf name to the printf function in the binary if IDA Pro fails to do so.

The objc2_analyzer_test_<arch> binaries are Mach-O executables that should be loaded into IDA Pro and tested with the objc2_analyzer_test.py IDAPython script.

Check the printed output of these test scripts to ensure there are no reported errors.