chc.app.CFunDeclarations module
Local variable declarations at the function level.
- class chc.app.CFunDeclarations.CFunDeclarations(cfun: CFunction, xnode: xml.etree.ElementTree.Element)[source]
Bases:
objectFunction parameter and local variable declarations.
This information is generated by cchcil/cHCilFunDeclarations and stored on disk in <fname>_cfun.xml, in the <declarations> element.
- property cfile: CFile
- property cfun: CFunction
- property fdecls: CFileDeclarations
- property formals: List[chc.app.CVarInfo.CVarInfo]
- get_global_varinfo_by_name(name: str) chc.app.CVarInfo.CVarInfo[source]
- get_local_varinfo(ix: int) chc.app.CVarInfo.CVarInfo[source]
- get_local_varinfo_map() Dict[int, chc.util.IndexedTable.IndexedTableValue][source]
- get_varinfo(vid: int) chc.app.CVarInfo.CVarInfo[source]
- property locals: List[chc.app.CVarInfo.CVarInfo]
- property varinfos: Dict[int, chc.app.CVarInfo.CVarInfo]