Re:Exploring Object File Formats
by actionfromafar on Tuesday January 16, 2024 @09:58AM
(#39013926)
Also see the pure brutality that is the early Microsoft Office DOC file. :)
Just dumping the memory IIRC.
[ Parent
| on HN ]
Re:Exploring Object File Formats
by fullspectrumdev on Tuesday January 16, 2024 @11:13AM
(#39015014)
I vaguely recall reading that on some versions of Office way back when, memory from other programs would sometimes leak into saved document files.
(Pauses commenting to go check) yes it’s referenced in Chapter 3 of “Silence on the Wire”, apparently Office on Windows 95/98 would dump memory from “other programs” into word docs, with some anecdotal sightings in later versions.
Re:Exploring Object File Formats
by actionfromafar on Tuesday January 16, 2024 @11:41AM
(#39015325)
Maybe a case of reused allocated memory and just writing chunks of memory to disk. Simplistic example:
struct blah_block{ int sz; char buf[510]; }