tests: avm1: Add tests for jumping outside of DoAction tag#23160
Open
Randomno wants to merge 1 commit intoruffle-rs:masterfrom
Open
tests: avm1: Add tests for jumping outside of DoAction tag#23160Randomno wants to merge 1 commit intoruffle-rs:masterfrom
Randomno wants to merge 1 commit intoruffle-rs:masterfrom
Conversation
Member
|
How did you add a jump outside the DoAction tag in CS6? |
Author
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These tests all jump outside of a DoAction tag and execute a push+trace statement.
jump_to_unknown_tag: Jumps to a custom tag (253)
jump_to_header: Jumps to the FileLength field of the header
jump_to_image_tag: Jumps to near the start of a DefineBitsJPEG2 tag
Various content uses jumps to unknown tags because it was a common obfuscation technique, but I'm not aware of any content doing the latter two operations. jump_to_header currently fails in Ruffle.
header and image_tag were compiled with CS6. unknown_tag was made with FFDec and a hex editor.