All pastes #58575 Raw Edit

Untitled

public text v1 · immutable
#58575 ·published 2006-05-24 05:55 UTC
rendered paste body
<edcba> 0xCC is INT3
<siz> edcba; what is that?
<edcba> it generates a 'debug exception'
<Maloeran> Eh, I was close enough
<siz> edbca; so, in other words, it should never be executed and if it is executed it'll generate that 'debug exception'?
* siz still wonders how the CISC processor deciphers variable-length instructions ... possibly with a table/grammar of sorts?
<Maloeran> Make sure to align your data sections too, siz, that's much more critical than text sections
<Maloeran> Decoding x86 is a horrible mess for processors
<siz> so, the .text section contains references to the .data section ...
<siz> we were just going to combine the .data sections and update the relative references to the .data section based on where symbols exist in the combined section ...
<siz> and based on the relocation table in the individual COFF files?
<Maloeran> I meant your data section could use padding to be 16 bytes aligned ( at least ) too
<siz> from our understanding, the relocation table points to each instruction that needs to be updated as required by a simple/complex relocation?
<siz> aah, ok ...