__init poisoning for i386, too
Quoted 8 lines · William Lee Irwin III
Quoted 3 lines · Pavel Machek
Overwrite
__initsection so calls to__initfunctions from normal code are catched, reliably. I wonder if this should be configurable... but it is configurable on x86-64 so I copied it. Please apply,Any chance we could:
(a) set the stuff to0x0f0bso illegal instructions come of it; jumps are most often aligned to something > 16 bits anyway
0xcc is an int3, that already causes an oops.
Quoted 1 line
(b) poison
__initdata, memsetting to some bit pattern oopsable to dereference
Would be a good idea yes. I will add it to x86-64.
-Andi