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

get SP on Solaris (SPARC) with GCC 3.3.2
From: Inode <inode () mediaservice net>
Date: Tue, 13 Jan 2004 16:27:01 +0100

Hi all,
I was testing some exploit on my solaris 8 box.

the function:

unsigned long get_sp(void)
{
        __asm__("mov %sp,%i0");
}

doesn't work if compiled with the gcc 3.3.2, the address returned by the function will be the current PC.
If compiler with gcc 3.2 work fine.

any idea?

Thanks in advance

Inode_


  By Date           By Thread  

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