Integration testing requires knowledge of potential modification of global variables, down a call tree, resulting from any given function call. "errno" is a prime example.
Wrote tool to trace "errno" modifications down a call tree, utilizing the SCI Understand for C/C++ Python API. Was also able to identify all direct, de-referenced and mapped access to all variables, including structure elements, of any given function.