Re: a.out Magic Number
Kronos <[email protected]> Thu, 28 Oct 2004 17:16:28 +0200
| Newsgroups | gmane.comp.security.italian.devel |
|---|---|
| Message-ID | <[email protected]> |
Il Tue, Oct 26, 2004 at 04:09:05PM +0200, Lonely Wolf ha scritto:=20 > "The magic number a_magic indicates what kind of executable file this i= s.=20 > on the original PDP-11 was octal 407, which was a branch instruction th= at would=20 > jump over the next seven words of the header to the beginning of the te= xt=20 > segment.... Different magic numbers tell the operating system program > loader to load the file in to memory differently..." >=20 > ecco, forse non ho ancora capito bene e mi sfugge qualcosa, ma mi > domandavo se questo pu=F2 aiutarmi a capire su quale piattaforma =E8 st= ato > compilato o quantomeno, se dato il seguente magic number posso > ricavare qualche altra info... Se usi linux o un qualche altro unix prova con il comando file: kronos:~$ file /bin/bash /bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped Luca --=20 Home: http://kronoz.cjb.net I went to God just to see And I was looking at me Saw heaven and hell were lies When I'm God everyone dies ________________________________________________________ http://www.sikurezza.org - Italian Security Mailing List