diff options
| author | van Hauser <vh@thc.org> | 2021-11-30 10:56:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-30 10:56:02 +0100 |
| commit | edbf41f78619162071987a44b46ab7f739bb85c1 (patch) | |
| tree | 3be630bc3a5d1ea65f3bb49863b37ff5b9d688c4 /unicorn_mode | |
| parent | 235bb3235e45a81eb2b524f3a76346d91a163e3d (diff) | |
| parent | 8968bee836ecde0fa2427b84b2f3ac85c276958f (diff) | |
| download | afl++-edbf41f78619162071987a44b46ab7f739bb85c1.tar.gz | |
Merge pull request #1172 from llzmb/docs_cleanup_folder_2
Clean up docs folder
Diffstat (limited to 'unicorn_mode')
| -rw-r--r-- | unicorn_mode/samples/persistent/COMPILE.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/unicorn_mode/samples/persistent/COMPILE.md b/unicorn_mode/samples/persistent/COMPILE.md index 111dfc54..9f2ae718 100644 --- a/unicorn_mode/samples/persistent/COMPILE.md +++ b/unicorn_mode/samples/persistent/COMPILE.md @@ -1,13 +1,16 @@ # C Sample This shows a simple persistent harness for unicornafl in C. -In contrast to the normal c harness, this harness manually resets the unicorn state on each new input. -Thanks to this, we can rerun the testcase in unicorn multiple times, without the need to fork again. +In contrast to the normal c harness, this harness manually resets the unicorn +state on each new input. +Thanks to this, we can rerun the test case in unicorn multiple times, without +the need to fork again. ## Compiling sample.c The target can be built using the `make` command. Just make sure you have built unicorn support first: + ```bash cd /path/to/afl/unicorn_mode ./build_unicorn_support.sh @@ -19,6 +22,7 @@ You don't need to compile persistent_target.c since a X86_64 binary version is pre-built and shipped in this sample folder. This file documents how the binary was built in case you want to rebuild it or recompile it for any reason. -The pre-built binary (persistent_target_x86_64.bin) was built using -g -O0 in gcc. +The pre-built binary (persistent_target_x86_64.bin) was built using -g -O0 in +gcc. -We then load the binary and we execute the main function directly. +We then load the binary and we execute the main function directly. \ No newline at end of file |
