chc.app.CInstr module
Base class and subclasses:
|
Base class for instructions. |
|
Call instruction. |
|
Assignment instruction. |
|
Instruction representing inserted assembly code. |
C instruction (assignment, call, or inserted assembly code).
- class chc.app.CInstr.CAsmInput(parent: chc.app.CInstr.CAsmInstr, xnode: xml.etree.ElementTree.Element)[source]
Bases:
object- property constraint: str
- property exp: CExp
- property parent: chc.app.CInstr.CAsmInstr
- class chc.app.CInstr.CAsmInstr(parent: CStmt, xnode: xml.etree.ElementTree.Element)[source]
Bases:
chc.app.CInstr.CInstrInstruction representing inserted assembly code.
- property asminputs: List[chc.app.CInstr.CAsmInput]
- property asmoutputs: List[chc.app.CInstr.CAsmOutput]
- property is_asm: bool
- property templates: List[str]
- class chc.app.CInstr.CAsmOutput(parent: chc.app.CInstr.CAsmInstr, xnode: xml.etree.ElementTree.Element)[source]
Bases:
object- property constraint: str
- property lhs: CLval
- property parent: chc.app.CInstr.CAsmInstr
- class chc.app.CInstr.CAssignInstr(parent: CStmt, xnode: xml.etree.ElementTree.Element)[source]
Bases:
chc.app.CInstr.CInstrAssignment instruction.
- property is_assign: bool
- property lhs: CLval
- property rhs: CExp
- property strings: List[str]
- class chc.app.CInstr.CCallInstr(parent: CStmt, xnode: xml.etree.ElementTree.Element)[source]
Bases:
chc.app.CInstr.CInstrCall instruction.
- property callargs: List[CExp]
- property callee: CExp
- property is_call: bool
- property lhs: CLval
- property strings: List[str]
- class chc.app.CInstr.CInstr(parent: CStmt, xnode: xml.etree.ElementTree.Element)[source]
Bases:
objectBase class for instructions.
- property cdictionary: CFileDictionary
- property cfun: CFunction
- property is_asm: bool
- property is_assign: bool
- property is_call: bool
- property parent: CStmt
- property strings: List[str]