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

JUMPIF and JUMPIFNOT can make "Condition" be null, causing Unluau to completely error out #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

karl-police
Copy link

@karl-police karl-police commented Mar 18, 2024

No clue if my changes are correct or not, even if they do work.

 

Input Example:
https://github.com/MaximumADHD/Roblox-Client-Tracker/blob/79d958e1c5e9acff1f1a053873852d7c3a682b16/BuiltInPlugins/AnimationClipEditor/Bin/main.luac

Currently, this Unluau is unable to generate Pseudocode from this input, because it errors out, however this pull request addresses this issue is some... strange way...
image

 

I have no clue if that what I did is correct.

So here are the differences:
https://www.diffchecker.com/JJD5VjjH/

 

This is how the differences look like with both of my "patches" applied.

https://www.diffchecker.com/oEnOdmc1/

@karl-police karl-police changed the title JUMPIF and JUMPIFNOT can make Condition be nil, causing Unluau to error out completely JUMPIF and JUMPIFNOT can make "Condition" be null, causing Unluau to completely error out Mar 18, 2024
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

Successfully merging this pull request may close these issues.

1 participant