Пример #1
0
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 );
}
Пример #2
0
static void extraRptFini(       // COMPLETION FOR EXTRA REPORTING
    INITFINI* defn )            // - definition
{
    defn = defn;
    CarveDestroy( carveRPTREG_CTR );
    CarveDestroy( carveRPTREG_AVG );
    CarveDestroy( carveRPTREG_TAB );
    CarveDestroy( carveRPTREG_TIT );
}
Пример #3
0
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 );
}
Пример #4
0
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 );
}
Пример #5
0
static void fini(               // COMPLETION
    INITFINI* defn )            // - definition
{
    /* unused parameters */ (void)defn;

    CarveDestroy( carveSYMBOL_LOCN );
}
Пример #6
0
static void typeCompareFini(    // COMPLETION
    INITFINI* defn )            // - definition
{
    defn = defn;
    DbgStmt( CarveVerifyAllGone( carveTC_DATA, "TC_DATA" ) );
    CarveDestroy( carveTC_DATA );
}
Пример #7
0
static void fini(               // module completion
    INITFINI* defn )
{
    defn = defn;
    RingCarveFree( carver_cdtors, &ring_cdtors );
    CarveDestroy( carver_cdtors );
}
Пример #8
0
static void rtnGenFini(         // COMPLETE ROUTINE GENERATION
    INITFINI* defn )            // - definition
{
    /* unused parameters */ (void)defn;

    CarveDestroy( carveRTN_GEN );
}
Пример #9
0
static void fini(               // CGBKCOND COMPLETION
    INITFINI* defn )            // - definition
{
    defn = defn;
    PstkClose( &stack_cond_blks );
    CarveDestroy( carveInfo );
}
Пример #10
0
static void typeSigFini(        // COMPLETION OF TYPE SIGNATURING
    INITFINI* defn )            // - definition
{
    /* unused parameters */ (void)defn;

    CarveDestroy( carveTYPE_SIG );
}
Пример #11
0
static void throwFini(          // COMPLETE CGBKTHRW
    INITFINI* defn )            // - definition
{
    /* unused parameters */ (void)defn;

    CarveDestroy( carveTHROW_RO );
}
Пример #12
0
static void conPoolsFini(       // COMPLETE CONSTANT POOLS
    INITFINI* defn )            // - definition
{

    defn = defn;
    CarveDestroy( carvePOOL_CON );
}
Пример #13
0
static void fini(               // CGBKCOND COMPLETION
    INITFINI* defn )            // - definition
{
    /* unused parameters */ (void)defn;

    PstkClose( &stack_cond_blks );
    CarveDestroy( carveInfo );
}
Пример #14
0
static void linkageFini( INITFINI* defn )
{
    defn = defn;
    while( nestedLinkages != NULL ) {
        LinkagePop();
    }
    DbgStmt( CarveVerifyAllGone( carveSTACK, "linkage STACK" ) );
    CarveDestroy( carveSTACK );
}
Пример #15
0
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;
}
Пример #16
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 );
}
Пример #17
0
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 );
    }
Пример #18
0
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 );
}
Пример #19
0
static void cgrfFini(           // COMPLETION OF CALL GRAPHING INFO.
    CALLGRAPH *ctl )            // - control information
{
    CarveDestroy( ctl->carve_nodes );
    CarveDestroy( ctl->carve_edges );
}
Пример #20
0
void ThrowCnvFini(              // THROW CONVERSIONS: COMPLETION
    THROW_CNV_CTL *ctl )        // - control area
{
    CarveDestroy( ctl->carver );
}
Пример #21
0
static void fini(               // COMPLETION
    INITFINI* defn )            // - definition
{
    defn = defn;
    CarveDestroy( carveFunRepository );
}
Пример #22
0
void FixFini( void ) {
/******************/
    CarveDestroy( myCarver );
}
Пример #23
0
static void throwFini(          // COMPLETE CGBKTHRW
    INITFINI* defn )            // - definition
{
    defn = defn;
    CarveDestroy( carveTHROW_RO );
}
Пример #24
0
static void fini(               // COMPLETION
    INITFINI* defn )            // - definition
{
    defn = defn;
    CarveDestroy( carve_gen );
}
Пример #25
0
static void typeSigFini(        // COMPLETION OF TYPE SIGNATURING
    INITFINI* defn )            // - definition
{
    defn = defn;
    CarveDestroy( carveTYPE_SIG );
}
Пример #26
0
void OmfFixFini( void )
/*********************/
{
    CarveDestroy( myCarver );
}