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
27 return S_OK;
28 }
29
30
protected:
31 IFACE_DATA_ENTRY m_data;
32 };
Analysis
CEndpoint is very simple. Its sole purpose is to provide a way for COM clients to access
a particular record of information.
At line 1, the ATL attribute coclass is specified and asserts that the ATL attribute
provider is to inject the appropriate code to make this a fully functional component
class.The noncreatable IDL attribute is also specified and asserts that this object is not to
be instantiated by COM clients.
Line 2 specifies the beginning of the CEndpoint class declaration.You will notice
the usage of the ATL macro ATL_NO_VTABLE.This macro expands
__declspec(novtable) and its usage optimizes the creation of the class by omitting the
vtable pointer initialization routines ...
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