Closed ScientiaEtVeritas closed 1 year ago
Hello,
Thank you for reporting. I am not encountering this error with my development version of Hermes. Can you please share your sample at or on this issue?
Thank you!
I have sent the sample in question to the mentioned address (using WeTransfer).
Should be fixed now, thanks!
Your file contained a non-standard trailer byte string ({"bundle_type":"rn-hbc"}\x00
). This should now be ignored through using the file size present in the bytecode file header instead of the actual disk size of the file in order to determine the position of the file footer containing the SHA-1 file hash.
I've run
~/hermes-dec/parsers/hbc_file_parser.py file.js.hbc
and it seems, it always returns the following errorfind
confirms it isHermes JavaScript bytecode, version 90
.