Skip to content

v2 "Index was outside the bounds of the array." exception #51

Open
@ChloeDoesThings

Description

@ChloeDoesThings

Hello, I wanted to report a bug on v2 where you guys can hopefully fix it. Every time I try to decompile certain bytecode files, it just gives me a bunch of "Index was outside the bounds of the array." exceptions and never seems to finish.

It comes from the LiftBasicBlock function and more specifically this line of code:
var instruction = Instructions[pc];

The error is caused by the pc value being less than 0 for some weird reason. All I did to my v2 fork is update the opcodes table.

Maybe you guys can fix this, thanks.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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