Skip to content

BeaEnginePython reading invalid address  #31

@DownWithUp

Description

@DownWithUp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions