Closed kws1207 closed 3 years ago
I believe that you've already implemented fuctions for arithmetic/comparison operators in abstract domains in domain.ml
. When you utilize those functions in eval
, then you'll get what you want (some values with type Value.t
.)
I don't fully understand your questions but let me give some comments
Llvm.instr_opcode
Llvm.classify_value
may be helpful.Thank you.
In semantics.ml, we have to write the function
let eval e mem
according to above definition.However, I am having a hard time figuring out what is the type of arithmetic operation and comparison operation. Is it an inherited type of Llvm.llvalue? or is it defined in domain.ml? I can't find it ..