redballoonsecurity / ofrak

OFRAK: unpack, modify, and repack binaries.
https://ofrak.com
Other
1.87k stars 127 forks source link

Normalize GUI script strings before testing #281

Closed marczalik closed 1 year ago

marczalik commented 1 year ago

One sentence summary of this PR (This should go in the CHANGELOG!) Compare scripts as strings rather than lists, and remove parts of the strings which may change frequently or be inconsistent across runs (error messages, including the resource IDs within those messages).

Link to Related Issue(s)

279

Please describe the changes in your request. Add a function that joins scripts as lists into one string and then replace the error messages with a constant value.

Anyone you think should look at this, specifically? @rbs-jacob @whyitfor