Skip to content

Disassembler Crashes When Code is Loaded on an Odd Byte Boundary #21

@AlexanderAdelAU

Description

@AlexanderAdelAU

LiClipse produces the following error when running xda99 against the file at this link: https://www.dropbox.com/s/zk87ceivpet63pd/sieve.rar?dl=1

I am not sure if the error lies within the disassembler or the PyDev implementation on LiClipse however I thought that I would flag it as a possible issue. I have walked though the code manually (not run native) and it appears to be sound.

Traceback (most recent call last): File "C:\Development-W7DEV\LiClipse Workspace\xda99\src\xda99.py", line 909, in <module> status = main() File "C:\Development-W7DEV\LiClipse Workspace\xda99\src\xda99.py", line 872, in main program = Program(binary, addr, symbols=symbols) File "C:\Development-W7DEV\LiClipse Workspace\xda99\src\xda99.py", line 580, in __init__ self.code = [Unknown(addr + i, ordw(binary[i:i + 2])) # listing of entries File "C:\Development-W7DEV\LiClipse Workspace\xda99\src\xda99.py", line 580, in <listcomp> self.code = [Unknown(addr + i, ordw(binary[i:i + 2])) # listing of entries File "C:\Development-W7DEV\LiClipse Workspace\xda99\src\xda99.py", line 34, in ordw return (word[0] << 8) | word[1] IndexError: index out of range

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