Jumping to data

Ian Moor iwm at asun3.ic.ac.uk
Tue Sep 13 19:34:40 AEST 1988


execute permission on your files. 
Think of generate executable == setuid root (sort of).

Do your programs actually poke binary opcodes into memory and jump to
them, or do they have structures with pointers to functions ?  I'm
sure that the compiler will allow pointers to functions that it 
knows it has compiled. If you are actually poking code, have you
considered what happens when you have to move to another machine ?
(I am contemplating trying to debug a program with 'asm' statements
scattered through it -- thats bad enough!)
 



More information about the Comp.lang.c mailing list