Re:The Lost Art of C Structure Packing (2014)
by tboneatx on Friday August 05, 2016 @11:49AM
(#12233214)
Knowing about struct memory alignment can come in in very handy when reverse-engineering 3rd party binary protocols. Often you come across many "unknown" bytes which turned out they were just padding because of 4 byte struct alignment and could be discarded. Saved a bunch of time not having to try to figure out what they were.
[ Parent
| on HN ]
There are no comments on this comment yet.