JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.2p0 | CONFIDENTIAL | CodeSecure Inc |
The CodeSonar Plug-In API allows users to specify actions to be carried out on elements of the CodeSonar internal representation (IR) at various stages of the analysis.
The API provides an interface to the nodes and edges of the program's dependence graph, the program's variables and their types, and the correspondence between these abstract elements and the source text.
The C implementation of the Core API consists of the following files:
| File | API Description |
|---|---|
| csonar_plugin.h | C functions and types for visitors, warnings, and metrics. |
| csonar_warning_significance.h | Types for CodeSonar warning class significance. |
| cs_abs_loc.h | Defines a set of symbol (cs_abs_loc) operations and supporting types. |
| cs_abs_loc_set.h | Defines a set of cs_abs_loc_set operations for CodeSonar. |
| cs_api_basic_defs.h | Basic macro definitions for the CodeSonar C API. |
| cs_api_defs.h | Defines a set of dll Macro operations for CodeSonar. |
| cs_ast.h | Operations and supporting types for ASTs (cs_ast). |
| cs_ast_base.h | Base Enums for ASTs. |
| cs_ast_c.h | Classes and ordinals for C/C++ cs_ast. |
| cs_basic_types.h | Basic types for the CodeSonar C API. |
| cs_cfg_edge_set.h | Defines cs_cfg_edge_set operations for CodeSonar (see the Utility Functions page for cs_edge_label manipulation functions). |
| cs_directory.h | Defines a set of cs_directory operations for CodeSonar. |
| cs_edge_label.h | Defines a set of cs_edge_label operations. |
| cs_fe_manifest.h | Defines a set of macros that indicate which language front ends are available. |
| cs_hash.h | Seeded hash functions for csuint64 values. |
| cs_int_pair_set.h | Defines a set of cs_int_pair_set operations for CodeSonar. |
| cs_language.h | Functions on cs_language values. |
| cs_metric.h | Provides types and methods for metric granularities and metric computation functions. |
| cs_pdg.h | Defines a set of procedure (cs_pdg) operations for CodeSonar. |
| cs_pdg_vertex.h | Defines a set of operations on points (cs_pdg_vertex) for CodeSonar. |
| cs_pdg_vertex_set.h | Defines a set of cs_pdg_vertex_set operations for CodeSonar. |
| cs_pdg_vertex_syntax.h | Defines operations on cs_vertex_syntax_element and cs_vertex_syntax_kind. |
| cs_result.h | Defines the cs_result type. |
| cs_sdg.h | Defines a set of SDG operations for CodeSonar. |
| cs_source_files.h | Defines a set of source file operations for CodeSonar. |
| cs_string64.h | Defines a set of utility operations on string types cs_const_string64, cs_const_string64_pin_t, cs_const_string. |
| cs_string64_type.h | Defines 64-bit string types for the CodeSonar API. |
| cs_syntax_kind.h | Defines operations on cs_syntax_kind. |
| cs_sysutil.h | Defines a set of system utility operations for CodeSonar. |
| cs_types.h | Defines a set of opaque types for the CodeSonar API. |
| cs_types_common.h | Defines a set of common types for the CodeSonar API. |
| cs_utility.h | Defines a set of utility operations for CodeSonar. |
| cs_val64.h | Defines a set of utility operations on 64-bit references for CodeSonar. |
| cs_warningfilter.h | Inline functions in support of cs_warningfilter.h. |
| cs_xref.h | Defines operations for cross-referencing. |
| cs_xref_common.h | Defines additional operations for cross-referencing: see also cs_xref.h. |
| gtr_bits.h | Platform characteristics. |
| gtr_jdk.h | Platform characteristics. |
To report problems with this documentation, please visit https://support.codesecure.com/.