Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




Vulnerability Development mailing list archives

The generated binary code has different main?
From: Minchu Mo <morris_minchu () iwon com>
Date: 4 Sep 2002 21:48:38 -0000



I used cc compiler to compile a simple c code under solaris /sparc. The c 
code has main(int argc, char* argv[]) function as entry point as everybody 
knows.

But when I run the generated code under adb, I found the main function
under adb look like this:

main(2,ffbefd0c,ffbefd18,20800,0,0)

I know that:
2 is the number of arguments, 
ffbefd0c is *argv
ffbefd18 is *envp,
but what are 20800 and 0, 0 for? 

Anybody knows? Thanks 



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]