The generated binary code has different main?
From: Minchu Mo (morris_minchu@iwon.com)Date: 09/04/02
- Previous message: Seth Arnold: "LC_COLLATE=en_US"
- Next in thread: Jonathon Giffin: "Re: The generated binary code has different main?"
- Reply: Jonathon Giffin: "Re: The generated binary code has different main?"
- Reply: Mike Frantzen: "Re: The generated binary code has different main?"
- Reply: Dom De Vitto: "RE: The generated binary code has different main?"
- Reply: Bruce Ediger: "Re: The generated binary code has different main?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 4 Sep 2002 21:48:38 -0000 From: Minchu Mo <morris_minchu@iwon.com> To: vuln-dev@securityfocus.com('binary' encoding is not supported, stored as-is)
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
- Previous message: Seth Arnold: "LC_COLLATE=en_US"
- Next in thread: Jonathon Giffin: "Re: The generated binary code has different main?"
- Reply: Jonathon Giffin: "Re: The generated binary code has different main?"
- Reply: Mike Frantzen: "Re: The generated binary code has different main?"
- Reply: Dom De Vitto: "RE: The generated binary code has different main?"
- Reply: Bruce Ediger: "Re: The generated binary code has different main?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|