Skip to content

error using example #7

Description

@ling245100108

I run command :"python system.py --sym stdin examples/toy002-libc", and meet the following error:

<type 'exceptions.Exception'> 'X86Op' object has no attribute 'size'

stdin: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n'

Traceback (most recent call last):
File "system.py", line 253, in
while current_state.execute():
File "system.py", line 56, in execute
return self.os.execute()
File "/home/ling/Desktop/pysymemu/linux.py", line 1229, in execute
self.current.execute()
File "/home/ling/Desktop/pysymemu/cpu.py", line 950, in execute
instruction = cpu.getInstructionCapstone(cpu.PC)
File "/home/ling/Desktop/pysymemu/cpu.py", line 98, in new_method
value = old_method(obj, *args)
File "/home/ling/Desktop/pysymemu/cpu.py", line 769, in getInstructionCapstone
op.size *= 8

AttributeError: 'X86Op' object has no attribute 'size'

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