Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
imagehlp.lib
Header File
imagehlp.h
Unicode
No
Platform Notes
Windows 95: IMAGEHLP is available as a redistributable.

RemovePrivateCvSymbolic

The RemovePrivateCvSymbolic function removes all but public information from the CodeView (CV) debug information.

BOOL RemovePrivateCvSymbolic(

IN PCHAR DebugData,

OUT PCHAR *NewDebugData,

OUT LPDWORD NewDebugSize

);

Parameters

DebugData

A pointer to the CV debug data (found by mapping the image and searching the debug directories for debug type IMAGE_DEBUG_TYPE_CODEVIEW.

NewDebugData

A pointer to a block (allocated with LocalAlloc) with just the public CV symbolics.

NewDebugSize

The size of the public symbolics.

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, then the return value is FALSE. To retrieve extended error information, call GetLastError.

Remarks

The RemovePrivateCvSymbolic function removes all but public information from the CV debug information. The intent is to allow the user to ship the debug symbols for an image without disclosing the data structures or source information. A consumer can only get a stack trace, place breakpoints on functions, and dump memory. All but the following CV sections are discarded:

  • sstSegMap

  • sstSegName

  • sstOffsetMap16

  • sstOffsetMap32

  • sstModule

  • sstPublic

  • sstPublicSym

  • sstGlobalPub

It is the responsibility of the caller to free the new debug data when finished.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database