static void fini( // module completion INITFINI* defn ) { defn = defn; CarveDestroy( carve_patch_se ); CarveDestroy( carve_ctor_flag ); CarveDestroy( carve_temp_entry ); PstkClose( &stack_new_ctors ); }
static void extraRptFini( // COMPLETION FOR EXTRA REPORTING INITFINI* defn ) // - definition { defn = defn; CarveDestroy( carveRPTREG_CTR ); CarveDestroy( carveRPTREG_AVG ); CarveDestroy( carveRPTREG_TAB ); CarveDestroy( carveRPTREG_TIT ); }
static void rewriteFini( INITFINI* defn ) { defn = defn; RewriteFree( currRewrite ); currRewrite = NULL; DbgStmt( CarveVerifyAllGone( carveREWRITE, "REWRITE" ) ); DbgStmt( CarveVerifyAllGone( carveREWRITE_TOKENS, "REWRITE_TOKENS" ) ); DbgStmt( CarveVerifyAllGone( carveSRCFILE_HANDLE, "SRCFILE_HANDLE" ) ); CarveDestroy( carveREWRITE ); CarveDestroy( carveREWRITE_TOKENS ); CarveDestroy( carveSRCFILE_HANDLE ); }
void FiniHandles( dw_client cli ) { handle_blk * cur; handle_blk * next; _Assert( cli->handles.forward == 0 ); for( cur = cli->handles.block_head[0]; cur != NULL; cur = next ) { next = cur->next[0]; CLIFree( cli, cur ); } CarveDestroy( cli, cli->handles.extra_carver ); CarveDestroy( cli, cli->handles.chain_carver ); }
static void fini( // COMPLETION INITFINI* defn ) // - definition { /* unused parameters */ (void)defn; CarveDestroy( carveSYMBOL_LOCN ); }
static void typeCompareFini( // COMPLETION INITFINI* defn ) // - definition { defn = defn; DbgStmt( CarveVerifyAllGone( carveTC_DATA, "TC_DATA" ) ); CarveDestroy( carveTC_DATA ); }
static void fini( // module completion INITFINI* defn ) { defn = defn; RingCarveFree( carver_cdtors, &ring_cdtors ); CarveDestroy( carver_cdtors ); }
static void rtnGenFini( // COMPLETE ROUTINE GENERATION INITFINI* defn ) // - definition { /* unused parameters */ (void)defn; CarveDestroy( carveRTN_GEN ); }
static void fini( // CGBKCOND COMPLETION INITFINI* defn ) // - definition { defn = defn; PstkClose( &stack_cond_blks ); CarveDestroy( carveInfo ); }
static void typeSigFini( // COMPLETION OF TYPE SIGNATURING INITFINI* defn ) // - definition { /* unused parameters */ (void)defn; CarveDestroy( carveTYPE_SIG ); }
static void throwFini( // COMPLETE CGBKTHRW INITFINI* defn ) // - definition { /* unused parameters */ (void)defn; CarveDestroy( carveTHROW_RO ); }
static void conPoolsFini( // COMPLETE CONSTANT POOLS INITFINI* defn ) // - definition { defn = defn; CarveDestroy( carvePOOL_CON ); }
static void fini( // CGBKCOND COMPLETION INITFINI* defn ) // - definition { /* unused parameters */ (void)defn; PstkClose( &stack_cond_blks ); CarveDestroy( carveInfo ); }
static void linkageFini( INITFINI* defn ) { defn = defn; while( nestedLinkages != NULL ) { LinkagePop(); } DbgStmt( CarveVerifyAllGone( carveSTACK, "linkage STACK" ) ); CarveDestroy( carveSTACK ); }
static void brinfSrcDestroy // DESTROY ALL DATA ( void ) { CarveDestroy( carvePpIns ); VstkClose( &open_src ); ins_queue = NULL; cursor.src_file = NULL; cursor.line = 0; cursor.column = 0; }
static void ioSuppFini( // FINALIZE IO SUPPORT INITFINI* defn ) // - definition { defn = defn; if( temphandle != -1 ) { close( temphandle ); if( tempname != NULL ) { remove( tempname ); } } while( NULL != buffers ) { freeBuffer( buffers ); } CarveDestroy( carve_buf ); CMemFree( FNameBuf ); }
static void brinfMacFini // COMPLETION ( INITFINI* defn ) // - definition { defn = defn; if( 0 != carveMacVals ) { MACVALUE* curr; RingIterBeg( values, curr ) { switch( curr->type ) { case MVT_DEFINED : case MVT_UNDEFED : { void* temp = curr->defin; curr->defin = NULL; CMemFree( temp ); // same format for undef'ed } break; } } RingIterEnd( curr ); CarveDestroy( carveMacVals ); carveMacVals = 0; VstkClose( &undefs ); }
void CanSFini( void ) { /*******************/ symb_handle cur; symb_handle next; cur = cansHead; if( cur != NULL ) { do { next = CanSFwd( cur ); switch( cur->class ) { case CANS_CHANGE_SEG: CanADestroyHdl( cur->d.cseg.seg ); break; case CANS_MEM_LOC: CanADestroyHdl( cur->d.memloc.mem_hdl ); break; } cur = next; } while( cur != cansHead ); cansHead = CANS_NULL; } CarveDestroy( myCarver ); }
static void cgrfFini( // COMPLETION OF CALL GRAPHING INFO. CALLGRAPH *ctl ) // - control information { CarveDestroy( ctl->carve_nodes ); CarveDestroy( ctl->carve_edges ); }
void ThrowCnvFini( // THROW CONVERSIONS: COMPLETION THROW_CNV_CTL *ctl ) // - control area { CarveDestroy( ctl->carver ); }
static void fini( // COMPLETION INITFINI* defn ) // - definition { defn = defn; CarveDestroy( carveFunRepository ); }
void FixFini( void ) { /******************/ CarveDestroy( myCarver ); }
static void throwFini( // COMPLETE CGBKTHRW INITFINI* defn ) // - definition { defn = defn; CarveDestroy( carveTHROW_RO ); }
static void fini( // COMPLETION INITFINI* defn ) // - definition { defn = defn; CarveDestroy( carve_gen ); }
static void typeSigFini( // COMPLETION OF TYPE SIGNATURING INITFINI* defn ) // - definition { defn = defn; CarveDestroy( carveTYPE_SIG ); }
void OmfFixFini( void ) /*********************/ { CarveDestroy( myCarver ); }