如何判断在KLEE中的指令中调用的变量是符号还是具体的

时间:2016-03-17 17:16:45

标签: variables concrete klee

我想知道当KLEE执行涉及变量的指令时,是否有办法判断KLEE中的变量是否符号。

1 个答案:

答案 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);