Skip to main content

Timeline for How do you debug a binary format?

Current License: CC BY-SA 4.0

3 events
when toggle format what by license comment
Jan 17, 2019 at 8:09 comment added Joop Eggen @Mark many small byte arrays (and that in varying hierarchy trees) are often not handled right (securely) in C (for instance not using exceptions). Never underestimate the low-levelness, inherent unsafeness of C. ASN.1 in - for instance - java does not expose this problem. As an ASN.1 grammar directed parsing could be done safely, even C could be done with a small and safe code base. And part of the vulnerabilities are inherent of the binary format itself: one can exploit "legal" constructs of the format's grammar, that have desastrous semantics.
Jan 16, 2019 at 22:50 comment added Mark If the never-ending parade of security vulnerabilities in ASN.1 parsers is any indication, adopting it would certainly provide good exercise in debugging binary formats.
Jan 16, 2019 at 16:37 history answered Joop Eggen CC BY-SA 4.0