我想知道当KLEE执行涉及变量的指令时,是否有办法判断变量在KLEE中是否是符号的。
有一个用于此目的的 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);