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

[Refactoring] Split bclist into two processes #9

Open
imring opened this issue Jan 3, 2023 · 0 comments
Open

[Refactoring] Split bclist into two processes #9

imring opened this issue Jan 3, 2023 · 0 comments

Comments

@imring
Copy link
Owner

imring commented Jan 3, 2023

At the moment, the bclist component parses and outputs the result as an array of strings (bclist::div). For simple Luad writing, should divide the component into two parts:

  • Analysis: analyzes the script, outputting all offsets of function/variable/etc.
  • String conversion: Converts the result of the analysis into text (MASM-like code) with the ability to replace the names of functions or other variables.

Why not give disluapp a task to analyze?

The goal of disluapp is to read/write the compiled script without using offsets. Also, after modification (e.g., adding a variable), you would have to completely write/read the script to update the offsets.

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