Declaration Handler
class DeclarationHandler(lang: LLVMIRLanguageFrontend) : Handler<Declaration, Pointer, LLVMIRLanguageFrontend>
This handler is in charge of parsing all LLVM IR language constructs that are related to declarations, mainly functions and types.
Constructors
Functions
Link copied to clipboard
fun handleStructureType(typeRef: LLVMTypeRef, alreadyVisited: MutableMap<LLVMTypeRef, Type?> = mutableMapOf()): RecordDeclaration
Handles the parsing of structure types. Member fields of structs in LLVM IR do not have names, so we need to assign dummy names for easier reading, such s field_0.
Link copied to clipboard