GDB (xrefs)
Classes | Functions | Variables
excheck Namespace Reference

Classes

class  GdbExceptionChecker
 

Functions

def type_is_pythonic (t)
 
def examine_struct_fields (initializer)
 
def examine_globals ()
 
def close_output (args)
 
def main (kwargs)
 

Variables

 output_file = None
 
dictionary cleanup_functions
 
dictionary ignore_functions
 
dictionary non_passthrough_functions
 

Function Documentation

def excheck.close_output (   args)

Definition at line 115 of file excheck.py.

References examine_globals().

def excheck.examine_globals ( )

Definition at line 93 of file excheck.py.

References examine_struct_fields(), and type_is_pythonic().

Referenced by close_output().

def excheck.examine_struct_fields (   initializer)

Definition at line 81 of file excheck.py.

Referenced by examine_globals().

def excheck.main (   kwargs)

Definition at line 283 of file excheck.py.

def excheck.type_is_pythonic (   t)

Definition at line 71 of file excheck.py.

Referenced by examine_globals().

Variable Documentation

dictionary excheck.cleanup_functions
Initial value:
1 = {
2  'make_cleanup': 1,
3  'make_cleanup_dtor': 1,
4  'make_final_cleanup': 1,
5  'make_my_cleanup2': 1,
6  'make_my_cleanup': 1
7 }

Definition at line 41 of file excheck.py.

dictionary excheck.ignore_functions
Initial value:
1 = {
2  # This one is super special.
3  'exceptions_state_mc': 1,
4  # gdb generally pretends that internal_error cannot throw, even
5  # though it can.
6  'internal_error': 1,
7  # do_cleanups and friends are supposedly nothrow but we don't want
8  # to run afoul of the indirect function call logic.
9  'do_cleanups': 1,
10  'do_final_cleanups': 1
11 }

Definition at line 50 of file excheck.py.

dictionary excheck.non_passthrough_functions
Initial value:
1 = {
2  'signal': 1,
3  'add_internal_function': 1
4 }

Definition at line 65 of file excheck.py.

excheck.output_file = None

Definition at line 37 of file excheck.py.