Depending on optimization level, the TC_RESULT_STR[] array could actually be placed in memory instead of being expanded at compile time, resulting in memory access errors from user mode. Just replace TC_RESULT_TO_STR() with an inline function containing a switch statement instead. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
|---|---|---|
| .. | ||
| tc_util.h | ||
| test_asm_inline_gcc.h | ||
| test_ecc_utils.h | ||
| test_utils.h | ||
| timestamp.h | ||