gabriel rosenkoetter on Sat, 6 Jul 2002 10:24:10 -0400 |
On Fri, Jul 05, 2002 at 09:48:41AM -0400, Leonard Rosenthol wrote: > >> b) don't have the specs for the output files (.obj, .o, .a, whatever) > >In the case of b, how could you *possibly* not have the specs? > Proprietary compiler, proprietary formats. And in many > cases, compilers don't even generate intermediate files... Sure, but it's got to go to machine code eventually, at which point disassembling it is ridiculously easy, especially since it started out as your code to begin with. If you've got the specs for the binary file format (these days, ELF, unless you're off your rocker) and the machine format, you're pretty much done, as long as you're willing to spend a day or two with it. I'll grant that didn't *used* to be as easy as it is now, but there is certainly no excuse for things like hand-coding assembler-style optimizations into even C code these days (and for the past five years at least). It is completely possible to apply OOP techniques in C, and no reason not to. The fact that the language lets you do stupid things is a terrible reason to actually *do* them. -- gabriel rosenkoetter gr@eclipsed.net Attachment:
pgppglujm7jHn.pgp
|
|