Beispiel #1
0
def del_idc_func(name):
    """
    Unregisters the specified IDC function

    @param name: IDC function name to unregister

    @return: Boolean


    Delete an IDC function
    """
    global __IDC_FUNC_CTXS

    # Get the context
    f = __IDC_FUNC_CTXS.get(name, None)

    if f is None:
        return False  # Not registered

# Break circular reference
    del f.cb

    # Delete the name from the dictionary
    del __IDC_FUNC_CTXS[name]

    # Delete the context and unregister the function
    return _ida_expr.pyw_unregister_idc_func(f.ctxptr)
Beispiel #2
0
def pyw_unregister_idc_func(*args) -> "bool":
    r"""
    pyw_unregister_idc_func(ctxptr) -> bool
    """
    return _ida_expr.pyw_unregister_idc_func(*args)