ELF modify section flags
I compiled a C code using gcc and when I check the sections of the ELF
using readelf I can see that the flags for .data section are set to WA
(Writable and Allocatable).
Is it possible to modify these flags? Can I make this section executable?
I am using gdb to debug this binary and I would like to set the flags for
.data section as Executable at a certain point. So, can this be done using
either gdb or gcc?
No comments:
Post a Comment