Skip to content

disassembler prints a non-existent label #81

Closed

Description

@x87
{$CLEO}
jump 1

gets decompiled as

{$CLEO .cs}
0002: jump @NONAME_1

label NONAME_1 does not exist. Should be jump 1 instead


Originally submitted as http://bugs.sannybuilder.com/view.php?id=61

Activity

  1. added
    type:bug
    priority:p3
    on Nov 1, 2020
  2. x87 commented on Nov 1, 2020

    @x87
    CollaboratorAuthor

    this is also valid for functions:

    gosub 1
    

    is decompiled to

    Noname_1()
    
  3. x87 commented on Nov 2, 2020

    @x87
    CollaboratorAuthor

    branches with negative offsets within MAIN section decompiled as labels, but should be numbers instead

    :MAIN
    
    jump -2 // decompiles to something like jump @Mission_2, should remain jump -2
    
    :Mission_0
    
  4. added this to the v3.6.1 milestone on Nov 14, 2020
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

    priority:p3scope:disassemblertype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions