我想知道当KLEE执行涉及变量的指令时,是否有办法判断KLEE中的变量是否符号。
答案 0 :(得分:0)
为此目的有一个API。
/* Return true if the given value is symbolic (represented by an
* expression) in the current state. This is primarily for debugging
* and writing tests but can also be used to enable prints in replay
* mode.
*/
unsigned klee_is_symbolic(uintptr_t n);