VirtualBox

source: vbox/trunk/src/VBox/Runtime/include/internal/dbgmod.h@ 46149

Last change on this file since 46149 was 46149, checked in by vboxsync, 12 years ago

IPRT: Dwarf and ELF fixes.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 23.5 KB
Line 
1/* $Id: dbgmod.h 46149 2013-05-17 17:21:23Z vboxsync $ */
2/** @file
3 * IPRT - Internal Header for RTDbgMod and the associated interpreters.
4 */
5
6/*
7 * Copyright (C) 2008-2012 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 *
17 * The contents of this file may alternatively be used under the terms
18 * of the Common Development and Distribution License Version 1.0
19 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20 * VirtualBox OSE distribution, in which case the provisions of the
21 * CDDL are applicable instead of those of the GPL.
22 *
23 * You may elect to license modified versions of this file under the
24 * terms and conditions of either the GPL or the CDDL or both.
25 */
26
27#ifndef ___internal_dbgmod_h
28#define ___internal_dbgmod_h
29
30#include <iprt/types.h>
31#include <iprt/critsect.h>
32#include <iprt/ldr.h> /* for PFNRTLDRENUMDBG */
33#include "internal/magics.h"
34
35RT_C_DECLS_BEGIN
36
37/** @addtogroup grp_rt_dbgmod
38 * @internal
39 * @{
40 */
41
42
43/** Pointer to the internal module structure. */
44typedef struct RTDBGMODINT *PRTDBGMODINT;
45
46/**
47 * Virtual method table for executable image interpreters.
48 */
49typedef struct RTDBGMODVTIMG
50{
51 /** Magic number (RTDBGMODVTIMG_MAGIC). */
52 uint32_t u32Magic;
53 /** Reserved. */
54 uint32_t fReserved;
55 /** The name of the interpreter. */
56 const char *pszName;
57
58 /**
59 * Try open the image.
60 *
61 * This combines probing and opening.
62 *
63 * @returns IPRT status code. No informational returns defined.
64 *
65 * @param pMod Pointer to the module that is being opened.
66 *
67 * The RTDBGMOD::pszDbgFile member will point to
68 * the filename of any debug info we're aware of
69 * on input. Also, or alternatively, it is expected
70 * that the interpreter will look for debug info in
71 * the executable image file when present and that it
72 * may ask the image interpreter for this when it's
73 * around.
74 *
75 * Upon successful return the method is expected to
76 * initialize pImgOps and pvImgPriv.
77 */
78 DECLCALLBACKMEMBER(int, pfnTryOpen)(PRTDBGMODINT pMod);
79
80 /**
81 * Close the interpreter, freeing all associated resources.
82 *
83 * The caller sets the pDbgOps and pvDbgPriv RTDBGMOD members
84 * to NULL upon return.
85 *
86 * @param pMod Pointer to the module structure.
87 */
88 DECLCALLBACKMEMBER(int, pfnClose)(PRTDBGMODINT pMod);
89
90 /**
91 * Enumerate the debug info contained in the executable image.
92 *
93 * Identical to RTLdrEnumDbgInfo.
94 *
95 * @returns IPRT status code or whatever pfnCallback returns.
96 *
97 * @param pMod Pointer to the module structure.
98 * @param pfnCallback The callback function. Ignore the module
99 * handle argument!
100 * @param pvUser The user argument.
101 */
102 DECLCALLBACKMEMBER(int, pfnEnumDbgInfo)(PRTDBGMODINT pMod, PFNRTLDRENUMDBG pfnCallback, void *pvUser);
103
104 /**
105 * Enumerate the segments in the executable image.
106 *
107 * Identical to RTLdrEnumSegments.
108 *
109 * @returns IPRT status code or whatever pfnCallback returns.
110 *
111 * @param pMod Pointer to the module structure.
112 * @param pfnCallback The callback function. Ignore the module
113 * handle argument!
114 * @param pvUser The user argument.
115 */
116 DECLCALLBACKMEMBER(int, pfnEnumSegments)(PRTDBGMODINT pMod, PFNRTLDRENUMSEGS pfnCallback, void *pvUser);
117
118 /**
119 * Enumerates the symbols exported by the module.
120 *
121 * @returns iprt status code, which might have been returned by pfnCallback.
122 * @param pMod Pointer to the module structure.
123 * @param fFlags Flags indicating what to return and such.
124 * @param BaseAddress The image base addressto use when calculating the
125 * symbol values.
126 * @param pfnCallback The callback function which each symbol is to be fed
127 * to.
128 * @param pvUser User argument to pass to the enumerator.
129 */
130 DECLCALLBACKMEMBER(int, pfnEnumSymbols)(PRTDBGMODINT pMod, uint32_t fFlags, RTLDRADDR BaseAddress,
131 PFNRTLDRENUMSYMS pfnCallback, void *pvUser);
132
133 /**
134 * Gets the size of the loaded image.
135 *
136 * Identical to RTLdrSize.
137 *
138 * @returns The size in bytes, RTUINTPTR_MAX on failure.
139 *
140 * @param pMod Pointer to the module structure.
141 */
142 DECLCALLBACKMEMBER(RTUINTPTR, pfnImageSize)(PRTDBGMODINT pMod);
143
144 /**
145 * Converts a link address to a segment:offset address (RVA included).
146 *
147 * @returns IPRT status code.
148 *
149 * @param pMod Pointer to the module structure.
150 * @param LinkAddress The link address to convert.
151 * @param piSeg The segment index.
152 * @param poffSeg Where to return the segment offset.
153 */
154 DECLCALLBACKMEMBER(int, pfnLinkAddressToSegOffset)(PRTDBGMODINT pMod, RTLDRADDR LinkAddress,
155 PRTDBGSEGIDX piSeg, PRTLDRADDR poffSeg);
156
157 /**
158 * Converts an image relative virtual address to a segment:offset.
159 *
160 * @returns IPRT status code.
161 *
162 * @param pMod Pointer to the loader module structure.
163 * @param Rva The RVA to convert.
164 * @param piSeg The segment index.
165 * @param poffSeg Where to return the segment offset.
166 */
167 DECLCALLBACKMEMBER(int, pfnRvaToSegOffset)(PRTDBGMODINT pMod, RTLDRADDR Rva, uint32_t *piSeg, PRTLDRADDR poffSeg);
168
169 /**
170 * Creates a read-only mapping of a part of the image file.
171 *
172 * @returns IPRT status code and *ppvMap set on success.
173 *
174 * @param pMod Pointer to the module structure.
175 * @param iDbgInfo The debug info ordinal number if the request
176 * corresponds exactly to a debug info part from
177 * pfnEnumDbgInfo. Otherwise, pass UINT32_MAX.
178 * @param off The offset into the image file.
179 * @param cb The number of bytes to map.
180 * @param ppvMap Where to return the mapping address on success.
181 *
182 * @remarks Fixups will only be applied if @a iDbgInfo is specified.
183 */
184 DECLCALLBACKMEMBER(int, pfnMapPart)(PRTDBGMODINT pMod, uint32_t iDbgInfo, RTFOFF off, size_t cb, void const **ppvMap);
185
186 /**
187 * Unmaps memory previously mapped by pfnMapPart.
188 *
189 * @returns IPRT status code, *ppvMap set to NULL on success.
190 *
191 * @param pMod Pointer to the module structure.
192 * @param cb The size of the mapping.
193 * @param ppvMap The mapping address on input, NULL on
194 * successful return.
195 */
196 DECLCALLBACKMEMBER(int, pfnUnmapPart)(PRTDBGMODINT pMod, size_t cb, void const **ppvMap);
197
198
199 /** For catching initialization errors (RTDBGMODVTIMG_MAGIC). */
200 uint32_t u32EndMagic;
201} RTDBGMODVTIMG;
202/** Pointer to a const RTDBGMODVTIMG. */
203typedef RTDBGMODVTIMG const *PCRTDBGMODVTIMG;
204
205
206/**
207 * Virtual method table for debug info interpreters.
208 */
209typedef struct RTDBGMODVTDBG
210{
211 /** Magic number (RTDBGMODVTDBG_MAGIC). */
212 uint32_t u32Magic;
213 /** Mask of supported debug info types, see grp_rt_dbg_type.
214 * Used to speed up the search for a suitable interpreter. */
215 uint32_t fSupports;
216 /** The name of the interpreter. */
217 const char *pszName;
218
219 /**
220 * Try open the image.
221 *
222 * This combines probing and opening.
223 *
224 * @returns IPRT status code. No informational returns defined.
225 *
226 * @param pMod Pointer to the module that is being opened.
227 *
228 * The RTDBGMOD::pszDbgFile member will point to
229 * the filename of any debug info we're aware of
230 * on input. Also, or alternatively, it is expected
231 * that the interpreter will look for debug info in
232 * the executable image file when present and that it
233 * may ask the image interpreter for this when it's
234 * around.
235 *
236 * Upon successful return the method is expected to
237 * initialize pDbgOps and pvDbgPriv.
238 */
239 DECLCALLBACKMEMBER(int, pfnTryOpen)(PRTDBGMODINT pMod);
240
241 /**
242 * Close the interpreter, freeing all associated resources.
243 *
244 * The caller sets the pDbgOps and pvDbgPriv RTDBGMOD members
245 * to NULL upon return.
246 *
247 * @param pMod Pointer to the module structure.
248 */
249 DECLCALLBACKMEMBER(int, pfnClose)(PRTDBGMODINT pMod);
250
251
252
253 /**
254 * Converts an image relative virtual address address to a segmented address.
255 *
256 * @returns Segment index on success, NIL_RTDBGSEGIDX on failure.
257 * @param pMod Pointer to the module structure.
258 * @param uRva The image relative address to convert.
259 * @param poffSeg Where to return the segment offset. Optional.
260 */
261 DECLCALLBACKMEMBER(RTDBGSEGIDX, pfnRvaToSegOff)(PRTDBGMODINT pMod, RTUINTPTR uRva, PRTUINTPTR poffSeg);
262
263 /**
264 * Image size when mapped if segments are mapped adjacently.
265 *
266 * For ELF, PE, and Mach-O images this is (usually) a natural query, for LX and
267 * NE and such it's a bit odder and the answer may not make much sense for them.
268 *
269 * @returns Image mapped size.
270 * @param pMod Pointer to the module structure.
271 */
272 DECLCALLBACKMEMBER(RTUINTPTR, pfnImageSize)(PRTDBGMODINT pMod);
273
274
275
276 /**
277 * Adds a segment to the module (optional).
278 *
279 * @returns IPRT status code.
280 * @retval VERR_NOT_SUPPORTED if the interpreter doesn't support this feature.
281 * @retval VERR_DBG_SEGMENT_INDEX_CONFLICT if the segment index exists already.
282 *
283 * @param pMod Pointer to the module structure.
284 * @param uRva The segment image relative address.
285 * @param cb The segment size.
286 * @param pszName The segment name.
287 * @param cchName The length of the segment name.
288 * @param fFlags Segment flags.
289 * @param piSeg The segment index or NIL_RTDBGSEGIDX on input.
290 * The assigned segment index on successful return.
291 * Optional.
292 */
293 DECLCALLBACKMEMBER(int, pfnSegmentAdd)(PRTDBGMODINT pMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName, size_t cchName,
294 uint32_t fFlags, PRTDBGSEGIDX piSeg);
295
296 /**
297 * Gets the segment count.
298 *
299 * @returns Number of segments.
300 * @retval NIL_RTDBGSEGIDX if unknown.
301 *
302 * @param pMod Pointer to the module structure.
303 */
304 DECLCALLBACKMEMBER(RTDBGSEGIDX, pfnSegmentCount)(PRTDBGMODINT pMod);
305
306 /**
307 * Gets information about a segment.
308 *
309 * @returns IPRT status code.
310 * @retval VERR_DBG_INVALID_SEGMENT_INDEX if iSeg is too high.
311 *
312 * @param pMod Pointer to the module structure.
313 * @param iSeg The segment.
314 * @param pSegInfo Where to store the segment information.
315 */
316 DECLCALLBACKMEMBER(int, pfnSegmentByIndex)(PRTDBGMODINT pMod, RTDBGSEGIDX iSeg, PRTDBGSEGMENT pSegInfo);
317
318
319
320 /**
321 * Adds a symbol to the module (optional).
322 *
323 * @returns IPRT code.
324 * @retval VERR_NOT_SUPPORTED if the interpreter doesn't support this feature.
325 *
326 * @param pMod Pointer to the module structure.
327 * @param pszSymbol The symbol name.
328 * @param cchSymbol The length for the symbol name.
329 * @param iSeg The segment number (0-based). RTDBGMOD_SEG_RVA can be used.
330 * @param off The offset into the segment.
331 * @param cb The area covered by the symbol. 0 is fine.
332 * @param fFlags Flags.
333 * @param piOrdinal Where to return the symbol ordinal on success. If the
334 * interpreter doesn't do ordinals, this will be set to
335 * UINT32_MAX. Optional
336 */
337 DECLCALLBACKMEMBER(int, pfnSymbolAdd)(PRTDBGMODINT pMod, const char *pszSymbol, size_t cchSymbol,
338 uint32_t iSeg, RTUINTPTR off, RTUINTPTR cb, uint32_t fFlags,
339 uint32_t *piOrdinal);
340
341 /**
342 * Gets the number of symbols in the module.
343 *
344 * This is used for figuring out the max value to pass to pfnSymbolByIndex among
345 * other things.
346 *
347 * @returns The number of symbols, UINT32_MAX if not known/supported.
348 *
349 * @param pMod Pointer to the module structure.
350 */
351 DECLCALLBACKMEMBER(uint32_t, pfnSymbolCount)(PRTDBGMODINT pMod);
352
353 /**
354 * Queries symbol information by ordinal number.
355 *
356 * @returns IPRT status code.
357 * @retval VINF_SUCCESS on success, no informational status code.
358 * @retval VERR_DBG_NO_SYMBOLS if there aren't any symbols.
359 * @retval VERR_NOT_SUPPORTED if lookup by ordinal is not supported.
360 * @retval VERR_SYMBOL_NOT_FOUND if there is no symbol at that index.
361 *
362 * @param pMod Pointer to the module structure.
363 * @param iOrdinal The symbol ordinal number.
364 * @param pSymInfo Where to store the symbol information.
365 */
366 DECLCALLBACKMEMBER(int, pfnSymbolByOrdinal)(PRTDBGMODINT pMod, uint32_t iOrdinal, PRTDBGSYMBOL pSymInfo);
367
368 /**
369 * Queries symbol information by symbol name.
370 *
371 * @returns IPRT status code.
372 * @retval VINF_SUCCESS on success, no informational status code.
373 * @retval VERR_DBG_NO_SYMBOLS if there aren't any symbols.
374 * @retval VERR_SYMBOL_NOT_FOUND if no suitable symbol was found.
375 *
376 * @param pMod Pointer to the module structure.
377 * @param pszSymbol The symbol name.
378 * @param cchSymbol The length of the symbol name.
379 * @param pSymInfo Where to store the symbol information.
380 */
381 DECLCALLBACKMEMBER(int, pfnSymbolByName)(PRTDBGMODINT pMod, const char *pszSymbol, size_t cchSymbol, PRTDBGSYMBOL pSymInfo);
382
383 /**
384 * Queries symbol information by address.
385 *
386 * The returned symbol is what the debug info interpreter considers the symbol
387 * most applicable to the specified address. This usually means a symbol with an
388 * address equal or lower than the requested.
389 *
390 * @returns IPRT status code.
391 * @retval VINF_SUCCESS on success, no informational status code.
392 * @retval VERR_DBG_NO_SYMBOLS if there aren't any symbols.
393 * @retval VERR_SYMBOL_NOT_FOUND if no suitable symbol was found.
394 *
395 * @param pMod Pointer to the module structure.
396 * @param iSeg The segment number (0-based) or RTDBGSEGIDX_ABS.
397 * @param off The offset into the segment.
398 * @param fFlags Symbol search flags, see RTDBGSYMADDR_FLAGS_XXX.
399 * @param poffDisp Where to store the distance between the specified address
400 * and the returned symbol. Optional.
401 * @param pSymInfo Where to store the symbol information.
402 */
403 DECLCALLBACKMEMBER(int, pfnSymbolByAddr)(PRTDBGMODINT pMod, uint32_t iSeg, RTUINTPTR off, uint32_t fFlags,
404 PRTINTPTR poffDisp, PRTDBGSYMBOL pSymInfo);
405
406
407
408 /**
409 * Adds a line number to the module (optional).
410 *
411 * @returns IPRT status code.
412 * @retval VERR_NOT_SUPPORTED if the interpreter doesn't support this feature.
413 *
414 * @param pMod Pointer to the module structure.
415 * @param pszFile The filename.
416 * @param cchFile The length of the filename.
417 * @param uLineNo The line number.
418 * @param iSeg The segment number (0-based).
419 * @param off The offset into the segment.
420 * @param piOrdinal Where to return the line number ordinal on success. If
421 * the interpreter doesn't do ordinals, this will be set to
422 * UINT32_MAX. Optional
423 */
424 DECLCALLBACKMEMBER(int, pfnLineAdd)(PRTDBGMODINT pMod, const char *pszFile, size_t cchFile, uint32_t uLineNo,
425 uint32_t iSeg, RTUINTPTR off, uint32_t *piOrdinal);
426
427 /**
428 * Gets the number of line numbers in the module.
429 *
430 * @returns The number or UINT32_MAX if not known/supported.
431 *
432 * @param pMod Pointer to the module structure.
433 */
434 DECLCALLBACKMEMBER(uint32_t, pfnLineCount)(PRTDBGMODINT pMod);
435
436 /**
437 * Queries line number information by ordinal number.
438 *
439 * @returns IPRT status code.
440 * @retval VINF_SUCCESS on success, no informational status code.
441 * @retval VERR_DBG_NO_LINE_NUMBERS if there aren't any line numbers.
442 * @retval VERR_DBG_LINE_NOT_FOUND if there is no line number with that
443 * ordinal.
444 *
445 * @param pMod Pointer to the module structure.
446 * @param iOrdinal The line number ordinal number.
447 * @param pLineInfo Where to store the information about the line number.
448 */
449 DECLCALLBACKMEMBER(int, pfnLineByOrdinal)(PRTDBGMODINT pMod, uint32_t iOrdinal, PRTDBGLINE pLineInfo);
450
451 /**
452 * Queries line number information by address.
453 *
454 * @returns IPRT status code.
455 * @retval VINF_SUCCESS on success, no informational status code.
456 * @retval VERR_DBG_NO_LINE_NUMBERS if there aren't any line numbers.
457 * @retval VERR_DBG_LINE_NOT_FOUND if no suitable line number was found.
458 *
459 * @param pMod Pointer to the module structure.
460 * @param iSeg The segment number (0-based) or RTDBGSEGIDX_ABS.
461 * @param off The offset into the segment.
462 * @param poffDisp Where to store the distance between the specified address
463 * and the returned line number. Optional.
464 * @param pLineInfo Where to store the information about the closest line
465 * number.
466 */
467 DECLCALLBACKMEMBER(int, pfnLineByAddr)(PRTDBGMODINT pMod, uint32_t iSeg, RTUINTPTR off, PRTINTPTR poffDisp, PRTDBGLINE pLineInfo);
468
469
470 /** For catching initialization errors (RTDBGMODVTDBG_MAGIC). */
471 uint32_t u32EndMagic;
472} RTDBGMODVTDBG;
473/** Pointer to a const RTDBGMODVTDBG. */
474typedef RTDBGMODVTDBG const *PCRTDBGMODVTDBG;
475
476
477/**
478 * Deferred loading callback.
479 *
480 * @returns IPRT status code. On success the necessary method tables should be
481 * installed in @a pMod.
482 * @param pMod Pointer to the debug module structure.
483 * @param pDeferred The deferred load data.
484 */
485typedef DECLCALLBACK(int) FNRTDBGMODDEFERRED(PRTDBGMODINT pMod, struct RTDBGMODDEFERRED *pDeferred);
486/** Pointer to a deferred loading callback. */
487typedef FNRTDBGMODDEFERRED *PFNRTDBGMODDEFERRED;
488
489
490/**
491 * Structure pointed to by pvDbgPriv and/or pvImgPriv when
492 * g_rtDbgModVtDbgDeferred and/or g_rtDbgModVtImgDeferred are being used.
493 */
494typedef struct RTDBGMODDEFERRED
495{
496 /** The image size.
497 * Deferred loading is almost pointless without knowing the module size, as
498 * it cannot be mapped (correctly) without it. */
499 RTUINTPTR cbImage;
500 /** Reference counter. */
501 uint32_t volatile cRefs;
502 /** The configuration instance (referenced), can be NIL. */
503 RTDBGCFG hDbgCfg;
504 /** Performs deferred loading of the module. */
505 PFNRTDBGMODDEFERRED pfnDeferred;
506 /** Callback specific data. */
507 union
508 {
509 struct
510 {
511 /** The time/date stamp of the executable image and codeview file. */
512 uint32_t uTimestamp;
513 } PeImage,
514 OldCodeView;
515
516 struct
517 {
518 /** The PDB uuid. */
519 RTUUID Uuid;
520 /** The PDB age. */
521 uint32_t uAge;
522 } NewCodeview;
523
524 struct
525 {
526 /** The CRC-32 value found in the .gnu_debuglink section. */
527 uint32_t uCrc32;
528 } GnuDebugLink;
529 } u;
530} RTDBGMODDEFERRED;
531/** Pointer to the deferred loading data. */
532typedef RTDBGMODDEFERRED *PRTDBGMODDEFERRED;
533
534
535/**
536 * Debug module structure.
537 */
538typedef struct RTDBGMODINT
539{
540 /** Magic value (RTDBGMOD_MAGIC). */
541 uint32_t u32Magic;
542 /** The number of reference there are to this module.
543 * This is used to perform automatic cleanup and sharing. */
544 uint32_t volatile cRefs;
545 /** The module tag. */
546 uint64_t uTag;
547
548 /** When set, the loading of the image and debug info (including locating any
549 * external files), will not have taken place yet. */
550 uint32_t fDeferred : 1;
551 /** Set if deferred loading failed. */
552 uint32_t fDeferredFailed : 1;
553 /** Set if the debug info is based on image exports and segments. */
554 uint32_t fExports : 1;
555 /** Alignment padding. */
556 uint32_t fPadding1 : 29;
557#if ARCH_BITS == 64
558 uint32_t u32Padding2;
559#endif
560
561 /** The module name (short). */
562 char const *pszName;
563 /** The image file specified by the user. Can be NULL. */
564 char const *pszImgFileSpecified;
565 /** The module filename. Can be NULL. */
566 char const *pszImgFile;
567 /** The debug info file (if external). Can be NULL. */
568 char const *pszDbgFile;
569
570 /** The method table for the executable image interpreter. */
571 PCRTDBGMODVTIMG pImgVt;
572 /** Pointer to the private data of the executable image interpreter. */
573 void *pvImgPriv;
574
575 /** The method table for the debug info interpreter. */
576 PCRTDBGMODVTDBG pDbgVt;
577 /** Pointer to the private data of the debug info interpreter. */
578 void *pvDbgPriv;
579
580 /** Critical section serializing access to the module. */
581 RTCRITSECT CritSect;
582} RTDBGMODINT;
583/** Pointer to an debug module structure. */
584typedef RTDBGMODINT *PRTDBGMODINT;
585
586
587extern DECLHIDDEN(RTSTRCACHE) g_hDbgModStrCache;
588extern DECLHIDDEN(RTDBGMODVTDBG const) g_rtDbgModVtDbgDwarf;
589extern DECLHIDDEN(RTDBGMODVTDBG const) g_rtDbgModVtDbgNm;
590#ifdef RT_OS_WINDOWS
591extern DECLHIDDEN(RTDBGMODVTDBG const) g_rtDbgModVtDbgDbgHelp;
592#endif
593extern DECLHIDDEN(RTDBGMODVTDBG const) g_rtDbgModVtDbgDeferred;
594extern DECLHIDDEN(RTDBGMODVTDBG const) g_rtDbgModVtDbgContainer;
595
596extern DECLHIDDEN(RTDBGMODVTIMG const) g_rtDbgModVtImgLdr;
597extern DECLHIDDEN(RTDBGMODVTIMG const) g_rtDbgModVtImgDeferred;
598
599DECLHIDDEN(int) rtDbgModContainerCreate(PRTDBGMODINT pMod, RTUINTPTR cbSeg);
600DECLHIDDEN(int) rtDbgModContainer_SymbolRemoveAll(PRTDBGMODINT pMod);
601DECLHIDDEN(int) rtDbgModContainer_LineRemoveAll(PRTDBGMODINT pMod);
602DECLHIDDEN(int) rtDbgModContainer_RemoveAll(PRTDBGMODINT pMod);
603
604DECLHIDDEN(int) rtDbgModCreateForExports(PRTDBGMODINT pDbgMod);
605DECLHIDDEN(int) rtDbgModDeferredCreate(PRTDBGMODINT pDbgMod, PFNRTDBGMODDEFERRED pfnDeferred, RTUINTPTR cbImage,
606 RTDBGCFG hDbgCfg, PRTDBGMODDEFERRED *ppDeferred);
607
608DECLHIDDEN(int) rtDbgModLdrOpenFromHandle(PRTDBGMODINT pDbgMod, RTLDRMOD hLdrMod);
609
610/** @} */
611
612RT_C_DECLS_END
613
614#endif
615
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette