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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -