Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused Fields/Methods/ect Being Removed #65

Open
ChrisKader opened this issue Feb 27, 2023 · 2 comments
Open

Unused Fields/Methods/ect Being Removed #65

ChrisKader opened this issue Feb 27, 2023 · 2 comments

Comments

@ChrisKader
Copy link

Describe the bug
I notice that some Fields and Methods that are not used within the program being decompiled end up being removed. This is an issue as the same program is linked against when making extensions for said program. It is also then used to compile said extensions. As a result, when a program is finished being decompiled and someone loads an extension that uses one of the deleted fields or methods, it fails to compile.

I believe the SymbolRenamer.cs stage may be what's doing this as it happens with only that stage selected in the application (or switch set in the CLI). Any hints as to where exactly that may be would provide some help with me trying to find a fix that I could PR.

@ChrisKader
Copy link
Author

I tried debugging but I would get an error while trying to debug the CLI with Visual Studio due to the program thats being decompiled having debug protection.

@ChrisKader
Copy link
Author

The names are failing here.

The valid names that are failing are ones that end in more than one capital letter such as

  • CheckGPDTotal
  • CheckRTW
  • CalculateGDP
  • GDPTotal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant