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

Segmentation fault(core dump) #2

Open
Daniel0xcc opened this issue Nov 27, 2020 · 1 comment
Open

Segmentation fault(core dump) #2

Daniel0xcc opened this issue Nov 27, 2020 · 1 comment

Comments

@Daniel0xcc
Copy link

Daniel0xcc commented Nov 27, 2020

Getting seg fault while decompiling JSByteCodeWin.bin(acrobat reader 2020).

basically when input this command: ./dead0007 JSByteCodeWin.bin > core.js.

any suggestion?

  • I have been audited the code for a while and I would suggest you to check if malloc() returns null ptr to prevent fread() to
    operate on null chunk of memory ;).
@molnarg
Copy link
Owner

molnarg commented Nov 30, 2020

Sorry, it's been a long time since I've used this tool, so it's likely very outdated. My guess is that the the 2020 Reader uses a newer file format, not the dead0007 one (or it could also be a different version that still has the same magic bytes). You could try to re-compile this tool with the matching version of Firefox/Spidermonkey (that is used by Reader). In case you manage do that, pull requests are welcome :)

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

2 participants