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

Popular posts from this blog

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -