Ghidra’s decompiler source code is going to make for some fun reading :)https://github.com/NationalSecurityAgency/ghidra/tree/master/Ghidra/Features/Decompiler/src/decompile/cpp …
-
Show this thread
-
Interesting: The engine is based on Ramsey & Fernández, “Specifying Representations of Machine Instructions” 1997 https://www.cs.tufts.edu/~nr/pubs/specifying.pdf …
3 replies 2 retweets 22 likesShow this thread -
Replying to @pcwalton
Fun Fact: wanting to rewrite CGEN to be more like SLED while I was at Red Hat ate up more than a year of hobby-hacking tinkering with DSLs and indirectly led to me learning camlp4 and giving a talk on it at OLS which led to probably my job at Moz and everything thereafter?
1 reply 0 retweets 8 likes -
Replying to @graydon_pub @pcwalton
Double-Fun Fact: after the little compilers talk I posted last week Todd Proebsting contacted me to suggest I cover LCC (and Oberon) next time. A modified copy of LCC's BURG-based codegen (https://github.com/drh/lcc/tree/master/lburg …) drives the SLED/NJMCTK emitter in their "mld" optimizing linker.
1 reply 0 retweets 5 likes -
Replying to @graydon_pub @pcwalton
(His broader point stands: LCC and Oberon are really outstanding educational resources for line-by-line understanding of a compiler's innards.)
1 reply 0 retweets 4 likes
I remember playing with LCC in college. I think I still have the book on my shelf. Fun stuff :)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.