Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
addressing #4
  • Loading branch information
jtbennett-fe committed Jan 16, 2019
1 parent d0d5d29 commit a2c78c0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/README.md
@@ -0,0 +1,15 @@
# 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.

0 comments on commit a2c78c0

Please sign in to comment.