Tagged Questions
6
votes
2answers
1k views
.dtors looks writable, but attempts to write segfault
This is Ubuntu 9.04, 2.6.28-11-server, 32bit x86
$ cat test.c
main() { int *dt = (int *)0x08049f18; *dt = 1; }
$ readelf -S ./test
...
[18] .dtors PROGBITS 08049f14 000f14 000008 ...