Open zyw-nine opened 6 years ago
Flow- field- and context-sensitive value-flows constructed using flow-insensitive Andersen's pointer analysis.
In BreakConstantExpr.cpp ,line 88, you code is
88 "static ConstantExpr
89 hasConstantGEP (Value V) {
90 if (ConstantExpr * CE = dyn_cast
return 0;
}"
but I can't go to line 92 and 96, what is the instruction or code you can arrive the line 92 and 96?
will reach 93-96 If "CE->getOpcode() == Instruction::GetElementPtr" is not true (operator other than GetElementPtr).
It recursively expands the constant expression to flat all GetElementPtr CEs.
your saber is flow-sensitive and field-sensitive and Context-Sensitive Interprocedural pointer analysis or not ?