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
This commit is contained in:
lazymio
2022-02-14 18:01:37 +01:00
committed by GitHub
parent de7058b75b
commit 8fc249d210
4 changed files with 6 additions and 6 deletions

View File

@ -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,