Skip to content
New issue

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

BeaEnginePython reading invalid address #31

Open
DownWithUp opened this issue Dec 24, 2020 · 1 comment
Open

BeaEnginePython reading invalid address #31

DownWithUp opened this issue Dec 24, 2020 · 1 comment

Comments

@DownWithUp
Copy link

Hello,

I installed the BeaEnginePython via pip and was going to test out the python examples, specifically this one:

#!/usr/bin/python3

from BeaEnginePython import *

instr = Disasm(bytes.fromhex('90'))
instr.read()
print(instr.repr())

However, I immediately got the following error:

Traceback (most recent call last):
  File "c:/Users/Michael/Desktop/python/Test.py", line 5, in <module>
    instr = Disasm(bytes.fromhex('90'))
OSError: exception: access violation reading 0x00000090

It appears to be interpreting the bytes as an address. Perhaps there is a structure that needs to be pre-set similar to the C wrapper?
Thanks.

@Artorios
Copy link

Artorios commented Jan 6, 2022

Hello! Is any updates?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants