Skip to content

Normalize VAR section before outputting ALLOC in decompiled file #272

Closed

Description

@x87

Some old compiled script may have suffered from #223 and have negative indexes stored in SB Footer's VAR section.

After #251 this results in lines like this:

Alloc($var, -1000)

Also some variable names could be malformed and contain invalid characters (e.g. // ). Need to investigate whether it is still possible for CustomVariables.ini to have such names.

Alloc($var//[0], -1000)

Activity

  1. added
    type:bug
    priority:p3
    on Oct 4, 2023
  2. added this to the v4.0.0 milestone on Oct 15, 2023
  3. x87 commented on Aug 7, 2024

    @x87
    CollaboratorAuthor

    released in 4.0.0

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