pine64 / bl602-re

Reverse engineering of BL602 blobs
Apache License 2.0
100 stars 26 forks source link

Add generated headers from DWARF info #13

Closed zigazeljko closed 4 years ago

zigazeljko commented 4 years ago

This PR adds (pseudo-)headers generated from DWARF info. Declarations are grouped by names of source files (in which they were defined). Comments at the end of line contain source locations (in form :line:column).

WildCryptoFox commented 4 years ago

What command(s) did you use to extract these?

zigazeljko commented 4 years ago

I used the builtin debug/elf and debug/dwarf packages in Go to parse the DWARF info and wrote some code to output that in C-like format and sort based on source locations.

WildCryptoFox commented 4 years ago

Nice. I hope you'll publish this tool. ;)

If you publish the tool. Please add reconstruction instructions to the README in the work log.

gamelaster commented 4 years ago

Thank you very much for your pull request!

For receiving the free PineCone, please sign up at this link. (If there will be any issues with signing up, please let me know here).

zigazeljko commented 4 years ago

@gamelaster I signed up 2 days ago, but I didn't receive any confirmation email. Can you check if you received my submission?

gamelaster commented 4 years ago

Hi @zigazeljko , you should received email, and also, when you log in once again to Nutcracker website, it should give you information about your submission.