StatementHandler
class StatementHandler(lang: LLVMIRLanguageFrontend) : Handler<Statement, Pointer, LLVMIRLanguageFrontend>
Functions
Link copied to clipboard
fun handleBinaryOperator(instr: LLVMValueRef, op: String, unsigned: Boolean, unordered: Boolean = false): Expression
Handles a binary operation and returns either a BinaryOperator, UnaryOperator, CallExpression or a DeclarationStatement.
Link copied to clipboard
Handles the icmp
instruction for comparing integer values.
Link copied to clipboard
Handles the phi
instruction. It therefore adds dummy statements to the end of basic blocks where a certain variable is declared and initialized. The original phi instruction is not added to the CPG.
Link copied to clipboard