|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T t
Length: 814 (0x32e) Types: TextFile Names: »test.c«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦3f75c1919⟧ »EurOpenD3/utils/decomp.tar.Z« └─⟦510c4d5ee⟧ └─⟦this⟧ »decomp/test.c«
int a, b; main() { int c = 12; a = 5; b = 7; c = 9; a = b + c; return(0); } /* (not from Jim Reuter) * * NOTES: When decompiled, this program will produce several "extraneous" * "error" messages on this Ultrix VAX: * * exit.o() * { * Dangling function end * chmk 1 * } * * The exit routine does a chmk that never returns -- as such not legal * C, but it works so ... On to number 2: the "routine" cerror routine is * branched to not calls'ed to, so there is no first "registers save" word * for calls. Decomp assumes that there will be, and starts disassembling * 2 bytes too late. At least this is what I think happens ... * * bad local offset 3 * cerror.o() * { * ERR: bad local offset 3 * sp->O20481l = ( 0 >> 3 ) & 0x0; * return @value@; * } */