search for: irstmt

Displaying 1 result from an estimated 1 matches for "irstmt".

Did you mean: ifstmt
2017 Jun 21
2
question about llvmlite
...using llvmlite for pyvex and I want the output of my code (which is written based on llvmlite) to be like pyvex. In pyvex, (https://github.com/angr/pyvex). Considering pyvex, I tried to implement the following statements in pyvex to llvmlite: for stmt in irsb.statements: if isinstance(stmt, pyvex.IRStmt.Store): print "ST%s(%s) = %s" % (self.endness[-2:].lower(), self.addr, self.data) (which gets the data in a register and store it in another register) I translate it in llvmlite as follows: from ctypes import CFUNCTYPE, c_intimport archinfoimport llvmlite.ir as llimport llvmlite.bin...