PdbCacheInit
Description
Initialize an empty cache.
Success
Returns true; out is zeroed and ready for Resolve.
Failure
Returns false on NULL arg.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
PdbCache.c:287:
PdbCache cache;
if (!PdbCacheInit(&cache, base)) {
DefaultAllocatorDeinit(&alloc);
return false;- In
PdbCache.c:325:
PdbCache cache;
PdbCacheInit(&cache, base);
const char *name = NULL;
bool ok = !PdbCacheResolve(&cache, missing, 0, 0x1000, &name, NULL);- In
PdbCache.c:162:
// ---------------------------------------------------------------------------
bool PdbCacheInit(PdbCache *out, Allocator *alloc) {
if (!out || !alloc)
return false;- In
Backtrace.c:183:
# if MISRA_HAVE_PARSER_PDB
PdbCache pdb_cache;
bool pdb_cache_ok = alloc && PdbCacheInit(&pdb_cache, alloc);
# else
(void)alloc;
Last updated on