diff options
| author | lazymio <mio@lazym.io> | 2022-02-14 18:01:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-14 18:01:37 +0100 |
| commit | 8fc249d210ad49e3dd88d1409877ca64d9884690 (patch) | |
| tree | 8cc9db25c9b5aff3a9abea7c88f45ba82dad58a8 /unicorn_mode/samples/speedtest | |
| parent | de7058b75b629011246be12b4ae7df1e504925b1 (diff) | |
| download | afl++-8fc249d210ad49e3dd88d1409877ca64d9884690.tar.gz | |
Fix sample script for Unicornafl2 (#1329)
* Fix the sample script for Unicornafl2 * Make it compatible with unicornafl1 * Sync to the latest unicornafl * Update UNICORNAFL_VERSION * Sync to latest unicornafl to resolve linkage problem * Switch to ucafl2
Diffstat (limited to 'unicorn_mode/samples/speedtest')
| -rw-r--r-- | unicorn_mode/samples/speedtest/python/harness.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unicorn_mode/samples/speedtest/python/harness.py b/unicorn_mode/samples/speedtest/python/harness.py index 801ef4d1..604adf39 100644 --- a/unicorn_mode/samples/speedtest/python/harness.py +++ b/unicorn_mode/samples/speedtest/python/harness.py @@ -20,8 +20,8 @@ import os import struct from unicornafl import * -from unicornafl.unicorn_const import UC_ARCH_X86, UC_HOOK_CODE, UC_MODE_64 -from unicornafl.x86_const import ( +from unicorn.unicorn_const import UC_ARCH_X86, UC_HOOK_CODE, UC_MODE_64 +from unicorn.x86_const import ( UC_X86_REG_RAX, UC_X86_REG_RDI, UC_X86_REG_RIP, |
