Skip to Main Content
Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
book

Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals

by James C Foster
April 2005
Intermediate to advanced content levelIntermediate to advanced
700 pages
20h 39m
English
Syngress
Content preview from Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
Syscall Reference
This appendix includes several descriptions of useful
system calls. For more complete information about the
system calls available on Linux and FreeBSD, take a look
at the syscall man pages and the header files they refer
to. Before trying to implement a system call in
assembly, first try it out in a simple C program. That
way you can become familiar with the system call’s
behavior, and this will allow you to write better code.
Appendix D
641
327_SSPC_AppD.qxd 2/25/05 3:28 PM Page 641
642 Appendix D • Syscall Reference
exit( int )
The exit system call allows you to terminate a process. It only requires one argument, an
integer that will be ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

32/64-Bit 80x86 Assembly Language Architecture

32/64-Bit 80x86 Assembly Language Architecture

James Leiterman

Publisher Resources

ISBN: 9781597490054