We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This crashes unicorn 2.1.3 and was fine before:
# from pwnlib.asm import asm # code = asm(''' # move $t9, $gp # move $t7, $ra # jalr $t9 # addiu $t8, $zero, 0x10 # ''', arch='mips', endian='little') code = b'%\xc8\x80\x03%x\xe0\x03\t\xf8 \x03\x10\x00\x18$' import unicorn address = 0x1000 uc = unicorn.Uc(unicorn.UC_ARCH_MIPS, unicorn.UC_MODE_32) uc.mem_map(address, 0x1000) uc.mem_write(address, code) ctx = uc.context_save() for i, pc in enumerate(range(address, address + len(code), 4)): uc.context_restore(ctx) try: uc.emu_start(pc, until=-1, count=5) except unicorn.UcError as error: print(error)
pwntools CI crashed due to this.
The text was updated successfully, but these errors were encountered:
Your observation is correct.
Fixed in 0bb1bbd
Sorry, something went wrong.
unicorn
No branches or pull requests
This crashes unicorn 2.1.3 and was fine before:
pwntools CI crashed due to this.
The text was updated successfully, but these errors were encountered: