assembly - Can instructions exist in sections other than text? -
is safe assume instructions within executable located inside executable's text section? have never seen executable format violates assumption.
no, code may located in section marked such. furthermore, code may located in section provided appropriate page marked executable @ runtime, or if code copied executable page.
for example, /bin/true
has code in .plt
, .init
, .fini
sections in addition .text
.
Comments
Post a Comment