chc.proof.CFunctionCallsiteSPOs module
Supporting proof obligations related to a single call site.
- class chc.proof.CFunctionCallsiteSPOs.CFunctionCallsiteSPOs(cproofs: CFunctionProofs, xnode: xml.etree.ElementTree.Element)[source]
Bases:
objectRepresents the supporting proof obligations associated with a call site.
- property call_arguments: List[CExp]
- property callee: CVarInfo
- property callee_exp: CExp
- property callees: List[CVarInfo]
Resolved indirect call targets.
- property calltarget: chc.proof.CFunctionCallsiteSPOs.CallsiteTarget
- property cfgcontext: CfgContext
- property cfile: CFile
- property cfun: CFunction
- collect_post_assumes() None[source]
Collect postconditions from callee’s contract and add as assume.
- property context: ProgramContext
- property contextdictionary: CContextDictionary
- property cproofs: CFunctionProofs
- get_spo(id: int) chc.proof.CFunctionCallsiteSPO.CFunctionCallsiteSPO[source]
- property header: str
- property iargs: List[int]
- property icallees: List[int]
Indices of indirect calls.
- property is_direct_call: bool
- property is_indirect_call: bool
- iter(f: Callable[[chc.proof.CFunctionCallsiteSPO.CFunctionCallsiteSPO], None]) None[source]
- property line: int
- property location: chc.app.CLocation.CLocation
- property podictionary: CFunPODictionary
- property postassumes: List[int]
- property spos: Dict[int, List[chc.proof.CFunctionCallsiteSPO.CFunctionCallsiteSPO]]