by ESultanik · 4y ago · 0 comments
Shameless plug: I am one of the maintainers of PolyFile, which, among other things, can produce an interactive HTML hex editor with an annotated syntax tree for dozens of filetypes, including PDF. For PDF, it uses a dynamically instrumented version of the PDFminer parser. It sounds like it might satisfy your use case.
Here's a CCC talk on it: https://media.ccc.de/v/MRMCD2014_-_6008_-_en_-_grossbaustell...
And the slies from the talk: https://www.slideshare.net/ange4771/schizophrenic-files-v2
Bravo! Best wordplay I've reaed today.