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
void DoSomething(DWORD *p)
{
// …
}
In essence, the preceding code takes a pointer to a DWORD. However, there are
numerous things that this could actually mean: p could actually be an array of
DWORDs, the function might modify the value of p, or the function may read the
value of p. If, for example, the value of PVOID were used instead, it would be wholly
ambiguous what the function does. In writing C++ applications, it typically isn’t neces-
sary to have concrete bound type information. However, in terms of calling methods in
a different address space, it is very important.
Because of the necessity for interface definitions to be strongly typed, COM uses a
language called Interface Definition Language (IDL) for describing COM interfaces and
COM objects. ...
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