C and C++ Binaries

Results: cs_result.h

Defines the cs_result type.



Links


Defines

#define CS_RESULT_H

Types

enum cs_result
Definition typedef enum {
CS_SUCCESS , The function was successful.
CS_OUT_OF_ELEMENTS , An iterator ran out of elements.
CS_TRUNCATED , A user-allocated buffer was too small so the result was truncated.
CS_ELEMENT_NOT_PRESENT , The requested element of the data structure does not exist.
CS_ELEMENT_ALREADY_PRESENT , The element already exists in the data structure.
CS_REPLACED , The key already exists in the data structure, the old element was replaced with the new one.
CS_NO_LOWER_BOUND , The requested element has no lower bound.
CS_NO_UPPER_BOUND , The requested element has no upper bound.
CS_NO_BOUNDS , The requested element has no upper or lower bound.
CS_NOT_A_MANGLED_NAME , An attempt was made to demangle a name that is not a mangled name.
CS_DEMANGLE_FAILED , An attempt was made to demangle an invalid mangled name.
CS_GENERATED_COMPILATION , The specified cs_uid corresponds to a compilation generated in the back end or by cs_uid_create().
CS_NO_SOURCE_CORRESPONDENCE , An IR element does not correspond to any source code so a request for coordinates in source code (e.g., a line number) has failed.

For example, an attempt to determine the line number of a compiler-synthesized procedure would cause this.

CS_FILTERED_OUT , An element was not submitted to the hub because it matched a configuration file discard rule.

Metric values are filtered with METRIC_FILTER rules; CodeSonar warnings are filtered with WARNING_FILTER rules.

CS_ABS_LOC_HAS_NO_PARENT , The cs_abs_loc has no structural parent.
CS_ABS_LOC_HAS_NO_INLINE_SOURCE , The cs_abs_loc has no inline source.
CS_DECLARATIONS_UNKNOWN , There is no information about whether there are any declarations for the relevant cs_abs_loc.
CS_NO_PRIMARY_DECLARATION , No primary declaration found for a cs_abs_loc.
CS_ABS_LOC_NOT_FUNCTION , The cs_abs_loc passed to cs_abs_loc_function_to_pdg() does not represent a function.
CS_ABS_LOC_HAS_NO_PDG , The specified cs_abs_loc is not contained by any cs_pdg.
CS_NO_REPRESENTED_STRING , Returned by cs_abs_loc_represented_string() when the string associated with the specified cs_abs_loc cannot be found.
CS_ABS_LOC_IS_GLOBAL , The cs_abs_loc is global, and the requested information is not relevant to globals.
CS_ABS_LOC_PDG_UNDEFINED , The specified cs_abs_loc represents an undefined function.
CS_PDG_NOT_FOUND , A cs_pdg with the given name cannot be found.
CS_PDG_IS_UNDEFINED , The cs_pdg represents an undefined function.
CS_PDG_VERTEX_HAS_NO_SYMBOL , The cs_pdg_vertex has no symbol.
CS_PDG_VERTEX_HAS_ZERO_OR_MULTIPLE_SUCCESSORS , The cs_pdg_vertex does not have exactly one successor.
CS_PDG_VERTEX_HAS_ZERO_OR_MULTIPLE_PREDECESSORS , The cs_pdg_vertex does not have exactly one predecessor.
CS_PDGV_NOT_IN_BASIC_BLOCK , A basic block related function (such as cs_pdg_vertex_basic_block() ) is invoked on a cs_pdg_vertex that is not part of a basic block.
CS_NO_SUCH_BASIC_BLOCK , Returned by cs_pdg_retrieve_basic_block() when there is no such basic block.
CS_NO_SUCH_PDG_VERTEX , Returned by cs_pdg_retrieve_vertex() when there is no such vertex.
CS_NO_SUCH_PDG , Returned by cs_sdg_retrieve_pdg() when there is no such pdg.
CS_PDG_HAS_NO_NORMAL_EXIT , The cs_pdg has no normal exit vertex.

Normal-exit vertices are not generated in procedures that do not throw exceptions or have abnormal exits.

CS_PDG_HAS_NO_NORMAL_RETURN , The cs_pdg has no normal return vertex.

Normal-return vertices are not generated for call-sites that do not throw exceptions or have abnormal exits.

CS_VERTEX_HAS_NO_RANK , The cs_pdg_vertex is not a {formal,actual}-{in,out} or a global-{formal,actual}-{in,out} and, therefore, has no rank.
CS_NO_POSITION , The compilation does not have any position information, for example because it is generated by the back end.
CS_NOT_IMPLEMENTED , The functionality is not implemented for the provided inputs.
CS_CALLER_SHOULD_HANDLE , The functionality is not handled at this layer, but should be handled by the caller.
CS_FRONT_END_DOES_NOT_IMPLEMENT_FEATURE , The front end (parser) for this IR does not implement the requested feature.
CS_DISCRETIONARY_ERROR_IO_PARTIAL_READ , A read only partially succeeded, probably because of EOF.
CS_ERROR_INVALID_SDG , Returned by cs_s_read_sdg() if it is passed an invalid SDG file.
CS_PATH_INFEASIBLE , The path in question is infeasible.
CS_ERROR_INVALID_SDG_STORE , Returned by cs_s_read_sdg() if it is passed an invalid store file.
CS_ERROR_INVALID_OPERATOR , The operator is invalid.
CS_ERROR_INVALID_ATTRIBUTE , The attribute is invalid.
CS_ERROR_SDG_NOT_PRESENT , Set if the project is unbuilt (incomplete or non-existent SDG file) and a function is called that traverses the SDG.
CS_ERROR_AN_SDG_ALREADY_PRESENT , Returned by cs_s_read_sdg() if an SDG is already loaded.
CS_ERROR_NO_CFG_EDGES , Set when a function is called that depends on CFG edges but the current project was built without them.
CS_ERROR_NO_INTER_CFG_EDGES , Set when a function is called that depends on interprocedural CFG edges but the current project was built without them.
CS_ERROR_NO_USE_DEF_SETS , Set when a function is called that depends on CFG sets but the current project was built without them.
CS_ERROR_NO_BACKWARD_CFG_EDGES , Set when a function is called that depends on backward CFG edges but the current project was built without them.
CS_ERROR_NO_BASIC_BLOCKS , Set when a function is called that depends on basic blocks but the current project was built without them.
CS_ERROR_NO_POINTER_ANALYSIS , Set when a function is called that depends on pointer analysis but the current project was built without it.
CS_ERROR_NO_DECL_VERTICES , When a function is called that depends on declaration vertices but the current project was built without it.
CS_ERROR_NO_GMOD , Set when a function is called that depends on gmod but the current project was built with -compute-gmod no.
CS_ERROR_NO_DATA_DEPENDENCE , Set when a function is called that depends on data dependence but the current project was built with -data-dependence no.
CS_ERROR_NO_CONTROL_DEPENDENCE , Set when a function is called that depends on control dependence but the current project was built with -control-dependence no.
CS_ERROR_NO_CONTROL_DEPENDENCE_LABELS , Set when a function is called that depends on control dependence labels but the current project was built with -retain-control-dependence-labels no.
CS_ERROR_NO_DEPENDENCES , Set when a function is called that depends on dependence edges but the current project was built without them.
CS_ERROR_NO_SUB_OBJECT_ABS_LOCS , Set when a function is called that depends on subordinate abs locs (i.e., field abs locs) but the current project was built without them.
CS_ERROR_NOT_IN_BATCH_MODE , Internal use only.
CS_ERROR_IMMUTABLE_DATA_STRUCTURE , Set when an attempt is made to mutate an immutable data structure.
CS_ERROR_CANNOT_FIND_PATH , Set when an associated path cannot be found, such as with cs_file_get_include_pos_name().
CS_ERROR_INVALID_SFID , Set if an invalid cs_sfid is given as a parameter, such as to cs_file_get_include_name().
CS_ERROR_INVALID_SFID_STRING , Set if a cs_const_string that is not a well-formed sfid is passed to cs_string_to_sfid().
CS_ERROR_INVALID_UNITLINE , The compilation unit does not contain the specified line.
CS_ERROR_LANGUAGE_NOT_FOUND , Set in cs_file_language() if the programming language cannot be determined.
CS_ERROR_NO_LICENSE , Set if a C API function is called without first checking out the license.
CS_ERROR_LICENSE_VERIFICATION_FAILED , The license is corrupt; perhaps it was not transcribed correctly.
CS_ERROR_LICENSE_LOCK_LOST , The lock on the license was lost, most likely because it was deleted or moved.
CS_ERROR_NO_BUILDER_LICENSE , No builder licenses are available.
CS_ERROR_NONINCR_TO_INCR , The system cannot perform an incremental build because the previous build was with INCREMENTAL_BUILD=No and so build-time temporary data was not retained for future builds.
CS_ERROR_PARAM_EVAL_ORDER_DIFFER , The system cannot perform an incremental build because the setting of configuration parameter PARAMETER_EVALUATION_ORDER has changed.

To resolve this, either change the option setting back to its previous value or rebuild the entire project.

CS_ERROR_CFG_EDGES_DIFFER , The system cannot perform an incremental build because the setting of option -cfg-edges has changed.

To resolve this, either change the option setting back to its previous value or rebuild the entire project.

CS_ERROR_BASIC_BLOCKS_DIFFER , The system cannot perform an incremental build because the setting of option -basic-blocks has changed.

To resolve this, either change the option setting back to its previous value or rebuild the entire project.

CS_ERROR_DISPLAY_USES_EXPRS_DIFFER , The system cannot perform an incremental build because the setting of option -display-uses-exprs has changed.

To resolve this, either change the option setting back to its previous value or rebuild the entire project.

CS_ERROR_BINARIES_PRESENT_DIFFER , The system cannot perform an incremental build because the presence of binary computation units has changed.

To resolve this, either reconfigure the build to include or exclude binary units as before, or rebuild the entire project.

CS_ERROR_PDG_VERTEX_TO_AST_MAPPING_DIFFER , The system cannot perform an incremental build because the setting of option -retain-pdg-vertex-to-ast-mapping has changed.

To resolve this, either change the option setting back to its previous value or rebuild the entire project.

CS_ERROR_RETAIN_UNNORMALIZED_C_AST_DIFFER , The system cannot perform an incremental build because the setting of configuration parameter RETAIN_UNNORMALIZED_C_AST has changed.

To resolve this, either change the option setting back to its previous value or rebuild the entire project.

CS_ERROR_COMPUTE_SSA_DIFFER , The system cannot perform an incremental build because the setting of option -compute-ssa has changed.

To resolve this, either change the option setting back to its previous value or rebuild the entire project.

CS_ERROR_PI_NODES_DIFFER , The system cannot perform an incremental build because the setting of option -pi-nodes has changed.

To resolve this, either change the option setting back to its previous value or rebuild the entire project.

CS_ERROR_NORM_DISJUNCTIVES_DIFFER , The system cannot perform an incremental build because the setting of option -norm-disjunctives has changed.

To resolve this, either change the option setting back to its previous value or rebuild the entire project.

CS_ERROR_INVALID_SET_KIND , Set when the user invokes a function with an invalid cs_set_kind parameter.
CS_ERROR_INVALID_ABS_LOC_KIND , Set when the user invokes a function with an invalid cs_abs_loc_kind parameter.
CS_ERROR_UNKNOWN_ABS_LOC_KIND , The kind of the cs_abs_loc could not be determined.
CS_ERROR_INVALID_PDG_KIND , When user invokes a function with an invalid cs_pdg_kind, probably as part of a parameter.
CS_ERROR_INVALID_VERTEX_KIND , When user invokes a function with an invalid cs_vertex_kind.
CS_ERROR_INVALID_VERTEX_SYNTAX_KIND , When user invokes a function with an invalid cs_vertex_syntax_kind.
CS_ERROR_INVALID_VERTEX_SYNTAX_ELEMENT , When user invokes a function with an invalid cs_vertex_syntax_element.
CS_ERROR_INVALID_PDG_EDGE_KIND , When user invokes a function with an invalid cs_pdg_edge_kind.
CS_ERROR_INVALID_FILTER_PDG_DIRECTIVE , A cs_filter_pdg_directive is not valid.
CS_ERROR_INVALID_FILTER_PDG_VERTEX_DIRECTIVE , A cs_filter_pdg_vertex_directive is not valid.
CS_ERROR_INVALID_PS_ENUM , The ::cs_ps_enum is invalid.
CS_ERROR_NEGATIVE_THRESHOLD , Set when a function is given a negative threshold.
CS_ERROR_FATOBJ_STORE_OPEN_FAILED , Set when cannot open a data store file.
CS_ERROR_FATOBJ_STORE_DIRTY , Set when the data store being opened is in an inconsistent state.
CS_ERROR_IO_OPEN_FILE_TO_READ , Set when cannot open a file to read.
CS_ERROR_IO_OPEN_FILE_TO_WRITE , Set when cannot open a file to write.
CS_ERROR_IO_OPEN_FILE_LOCK_FAILURE , Set when fcntl(f, F_SETLK, &lock) fails for a reason besides lock contention.
CS_ERROR_IO_LOCK , Set when a file is locked by another process.
CS_ERROR_IO_LOCKED_BY_OTHER , Set when an attempt to remotely open a file for writing when the remote has the file open in read-only mode.
CS_ERROR_IO_SEEK , Set when a seek operation (lseek/SetFilePointerEx) fails.
CS_ERROR_IO_SEEK_TO_EOF , Set when cannot seek to EOF (lseek).
CS_ERROR_IO_FLUSH , Set when a flush operation (fsync/FlushFileBuffers) fails.
CS_ERROR_IO_READ , Set when a read operation (read/ReadFile) fails.
CS_ERROR_IO_READ_ZERO , Set when a read operation (read/ReadFile) reads zero bytes.
CS_ERROR_IO_READ_TOO_MUCH , Set when a read operation (read/ReadFile) reads more bytes than were requested.
CS_ERROR_IO_WRITE , Set when a write operation (write/WriteFile) fails.
CS_ERROR_IO_WRITE_ZERO , Set when a write operation (write/WriteFile) writes zero bytes.
CS_ERROR_IO_WRITE_TOO_MUCH , Set when a write operation (write/WriteFile) writes more bytes than were requested.
CS_ERROR_IO_WRITE_TO_READ_ONLY , Set when an attempt is made to write to a read only resource.
CS_ERROR_IO_READ_PAST_EOF , Set when an attempt is made to read past EOF.
CS_ERROR_IO_WRITE_PAST_EOF , Set when an attempt is made to write past EOF.
CS_ERROR_IO_SEEK_PAST_EOF , Set when an attempt is made to seek past EOF.
CS_ERROR_IO_STAT , Set when cannot stat a file.
CS_ERROR_IO_MOVE_EOF , Set when cannot move EOF (ftruncate/SetEndOfFile).
CS_ERROR_IO_GET_EOF , Set when a attempt to retrieve EOF fails (lseek/GetFileSizeEx).
CS_ERROR_IO_GET_POSITION , Set when cannot get position of file pointer (lseek/SetFilePointerEx failed).
CS_ERROR_IO_CLOSE , Set when cannot close a file (close/CloseHandle).
CS_ERROR_IO_READ_BAD_CHECKSUM , The checksum did not match.
CS_ERROR_IO_RENAME , Set when a file cannot be renamed.
CS_ERROR_INVALID_SEEK_RETURN_RANGE , The specified range spans across multiple physical source files, is out of the range, or start>end.
CS_ERROR_INVALID_LINE_POSITION , The position of the start of a line in a source file could not be determined.
CS_ERROR_PARAMETER_TOO_LARGE , A parameter to the function exceeded the maximum allowable value.
CS_ERROR_FOREIGN_EXCEPTION , An exception occured in a non-native language.
CS_ERROR_FORK_FAILED , fork() did not succeed.

errno may contain additional information.

CS_ERROR_CREATE_THREAD_FAILED , Set when a thread cannot be created.
CS_ERROR_NOT_A_CALL_SITE , The relevant vertex is not a call-site.
CS_ERROR_NOT_AN_ACTUAL_IN , The relevant vertex is not an actual in.
CS_ERROR_NOT_AN_ACTUAL_OUT , The relevant vertex is not an actual out.
CS_ERROR_NO_EXCEPTIONS_OR_ABNORMAL_EXITS , The project was not built with support for exceptions or abnormal exits, so the requested information is unavailable.
CS_ERROR_DISALLOWED_SET_KIND , The set kind is valid but not allowed for a particular operation.
CS_ERROR_NO_SUMMARY_EDGES , Set when a function is called that depends on summary edges, but the current project was built without them.
CS_ERROR_NO_SCC , Set when a function is called that depends on strongly connected components, but the current project was built without summary edges (which enable SCCs).
CS_ERROR_UID_NOT_FOUND , No compilation unit exists for the specified cs_uid.
CS_ERROR_INVALID_OFFSET , Set when a file offset is not within the bounds of the file.
CS_ERROR_COUNT_UNKNOWN_BUT_POSITIVE , Set when errors were encountered in compiling an SDG is not known, but the exact number is unknown.
CS_ERROR_COUNT_UNKNOWN , Set when the number of errors encountered in compiling an SDG is completely unknown.
CS_ERROR_INVALID_SFID_OR_LINE , Set when either a relevant source file was deleted or changed or the given line number does not exist within the file.
CS_ERROR_INVALID_COLORING_ID , Reserved for future use.
CS_ERROR_INVALID_SYNTAX_KIND , Set when an invalid cs_syntax_kind is specified.
CS_ERROR_INVALID_TOKDEF_KIND , Reserved for future use.
CS_ERROR_NO_CONTAINER , Reserved for future use.
CS_ERROR_GET_HOST_NAME_FAILED , Set when the system function gethostname fails.
CS_ERROR_GET_COMPUTER_NAME_FAILED , Set when the system function GetComputerName fails.
CS_ERROR_GET_PW_UID_FAILED , Set when the system function getpwuid fails.

This can be caused by intermittent NIS outages.

CS_ERROR_GET_USER_NAME_FAILED , Set when the system function GetUserName fails.

This can be caused by intermittent domain controller outages.

CS_ERROR_INVALID_ARGUMENT , An argument is not a valid instance of the required type.
CS_ERROR_OVERFLOW , Set when a value is too large or too small.
CS_ERROR_OUT_OF_MEMORY , Set when an allocation fails.
CS_ERROR_INVALID_TYPE , Set when an invalid type is requested.
CS_ERROR_NO_SUCH_PDG_HAMMOCK , No such pdg hammock.
CS_ERROR_HAMMOCK_NUM_EXIT_EDGE_SETS , Hammock w/ incorrect number of exit edge sets.
CS_INTERNAL_STOP_TRAVERSAL , Stop traversal.
CS_INCOMPATIBLE_ARGUMENTS , The command-line arguments provided are incompatible.
CS_INVALID_DATA_FORMAT , The data was not in a valid format for the operation.
CS_ERROR_GRAN_MISMATCH , Metric granularity does not match the operator.
CS_METRIC_NOT_COMPUTED , The requested metric value was not computed.
CS_TIMEOUT , A time out occurred.
CS_ERROR_MISMATCH , Set when a value or ID does not match expectations.
CS_ERROR_INVALID_SLAVE_OPERATION , The operation is not valid from a slave process.
CS_ERROR_INVALID_PHASE_FOR_OPERATION , The operation is not valid during this phase of the analysis.

Visitors are applied during different phases, as follows:

CS_DISABLED , The requested functionality is disabled.
CS_ERROR_CODESURFER_ONLY , The feature is only available in CodeSurfer and not in CodeSonar.
CS_ERROR_CODESONAR_ONLY , The feature is only available in CodeSonar and not in CodeSurfer.
CS_ERROR_INCOMPATIBLE_VERSION , Error msg for incompatible version of Symantec Endpoint Protection, which causes kernel deadlock w/ hookcs driver.
CS_AMC_IS_BOTTOM , The AMC at given vertex is "bottom" (not reached).
CS_AMC_NOT_AVAILABLE , VSA is not available at given vertex, either because the given vertex is excluded from analysis, or analysis was disabled altogether.
CS_NOT_MACHINE_CODE , The given UID is not a machine-code module.
CS_MODULE_IR_NOT_AVAILABLE , The requested information is not available for the given module, because the module is summarized.
CS_ERROR_ANALYSIS_NOT_RUN , Results of an AMC-based analysis were requested when the analysis was not run.
CS_ERROR_INVALID_AST_CLASS , Set when the user invokes a function with an invalid cs_ast_class parameter.
CS_ERROR_INVALID_KIND , Set when the user invokes a function with an invalid kind parameter.
CS_ERROR_INVALID_FAMILY , Set when the user invokes a function with an invalid cs_ast_family parameter.
CS_ERROR_INVALID_LANGUAGE , Set when the user invokes a function with an invalid cs_language parameter.
CS_ERROR_INVALID_LINE , Set when the user invokes a function with an invalid cs_line parameter.
CS_ERROR_INVALID_LINK_TYPE , Set when the user invokes a function with an invalid ::csfe_link_type parameter.
CS_ERROR_INVALID_FLAG , Set when the user invokes a function with an invalid flag parameter.
CS_ERROR_ARGUMENT_CANNOT_BE_NULL , Set when the user invokes a function with a NULL argument but the parameter is not allowed to be null.
CS_ERROR_ARGUMENT_CANNOT_BE_EMPTY , Set when the user invokes a function with an empty string or ranges when empty ones are not allowed.
CS_ERROR_RANGE_CANNOT_BE_EMPTY , Set when the user invokes a function with an empty range when empty ones are not allowed.
CS_ERROR_NOT_A_GLOBAL , Set when the user invokes a function with a ::csfe_symbol that's not a global when the function only handles global symbol.
CS_ERROR_COMPUNIT_HAS_NO_SFILEINST , Set when the user invokes a function with a ::csfe_compunit that doesn't have a cs_sfid, for example, the function csfe_diagstream_compunit_parse_error needs a ::csfe_compunit with a cs_sfid so the parse error can be associated with a file.
CS_ERROR_NOT_INITIALIZED , Set when the user invokes a function in a module before the module is ready.

For example, csfe_diagstream_parse_error_no_location should not be called before frontend finishes its command line processing.

CS_ERROR_LAUNCHD_NO_HOME , A remote analysis was requested on a launchd that was never specified a home directory via -launchd-home.
CS_ERROR_LAUNCHD_QUOTA_EXCEEDED , A remote analysis was requested on a launchd that didn't have enough remaining quota space to handle the incoming .prj_files.
CS_INTERNAL_ERROR_BAD_ABS_LOC_KIND , Internal use only.
CS_INTERNAL_ERROR_BAD_ABS_LOC_UID , Internal use only.
CS_INTERNAL_ERROR_NULL_ABS_LOC_FIELD , Internal use only.
CS_INTERNAL_ERROR_NULL_ABS_LOC_FIELDS , Internal use only.
CS_INTERNAL_ERROR_NULL_INL_TARGET , Internal use only.
CS_INTERNAL_ERROR_NULL_INL_TARGETS , Internal use only.
CS_INTERNAL_ERROR_NULL_LAST_VERTEX , Internal use only.
CS_INTERNAL_ERROR_NULL_LAST_VERTEX_2 , Internal use only.
CS_INTERNAL_ERROR_ABS_LOC_SET_CLOSE , Internal use only.
CS_INTERNAL_ERROR_BB_SET_CLOSE , Internal use only.
CS_INTERNAL_ERROR_PDGV_SET_CLOSE , Internal use only.
CS_INTERNAL_ERROR_IP_SET_CLOSE , Internal use only.
CS_INTERNAL_ERROR_IP_MAP_COMPUTE_FAIL , Internal use only.
CS_INTERNAL_ERROR_BAD_FORMAL , Internal use only.
CS_INTERNAL_ERROR_PDG_MISSING , Internal use only.
CS_INTERNAL_ERROR_PDG_MISSING_02 , Internal use only.
CS_INTERNAL_ERROR_AIN_NO_CALL , Internal use only.
CS_INTERNAL_ERROR_PDG_CALL_NO_CALLEE , Internal use only.
CS_INTERNAL_ERROR_PDG_CALL_NO_CALLEE_2 , Internal use only.
CS_INTERNAL_ERROR_PDG_CALL_NO_CALLEE_3 , Internal use only.
CS_INTERNAL_ERROR_GET_ISET , Internal use only.
CS_INTERNAL_ERROR_GET_LENGTH , Internal use only.
CS_INTERNAL_ERROR_UNION_P_FAILS , Internal use only.
CS_INTERNAL_ERROR_UID_SFID_HANDLES_NOT_DEFINED , Internal use only.
CS_INTERNAL_ERROR_UID_SFID_HANDLES_NOT_LIST , Internal use only.
CS_INTERNAL_ERROR_UID_SFID_HANDLES_NOT_PAIR , Internal use only.
CS_INTERNAL_ERROR_UID_SFID_HANDLES_NOT_SHANDLE , Internal use only.
CS_INTERNAL_ERROR_UID_SFID_HANDLES_NOT_SFID , Internal use only.
CS_INTERNAL_ERROR_UID_SFID_HANDLES_MISSING_TMPDIR , Internal use only.
CS_INTERNAL_ERROR_U2S_MISSING_TMPDIR , Internal use only.
CS_INTERNAL_ERROR_TRY_AGAIN_LATER , Internal use only.
CS_INTERNAL_ERROR_GETCWD_FAILED , Internal use only.
CS_INTERNAL_ERROR_GETCURRENTDIRECTORY_FAILED , Internal use only.
CS_INTERNAL_ERROR_UNEXPECTED_RESPONSE_CODE , Internal use only.
CS_INTERNAL_ERROR_UNEXPECTED_MESSAGE , Internal use only.
CS_INTERNAL_ERROR_CONNECTION_FAILED , Internal use only.
CS_INTERNAL_ERROR_OPENSCMANAGER_FAILED , Internal use only.
CS_INTERNAL_ERROR_CREATESERVICE_FAILED , Internal use only.
CS_INTERNAL_ERROR_OPENSERVICE_FAILED , Internal use only.
CS_INTERNAL_ERROR_STARTSERVICE_FAILED , Internal use only.
CS_INTERNAL_ERROR_SERVICE_DID_NOT_START , Internal use only.
CS_INTERNAL_ERROR_SERVICE_UNEXPECTED_STATE , Internal use only.
CS_INTERNAL_ERROR_QUERYSERVICESTATUS_FAILED , Internal use only.
CS_INTERNAL_ERROR_DELETESERVICE_FAILED , Internal use only.
CS_INTERNAL_ERROR_TERMINAL_SERVER_NOT_OK , Internal use only.
CS_INTERNAL_ERROR_KERNEL_OBJECT_NAME_UNKNOWN , Internal use only.
CS_INTERNAL_ERROR_GET_NTDLL_BASE_FAILED , Internal use only.
CS_INTERNAL_ERROR_UNFAMILIAR_SYSCALL , Internal use only.
CS_INTERNAL_ERROR_DRVHOOKCS_CONFIGURE , Internal use only.
CS_INTERNAL_ERROR_DRVHOOKCS_ACTIVATE , Internal use only.
CS_INTERNAL_ERROR_DRVHOOKCS_FLTLIB_LOADLIBRARY , Internal use only.
CS_INTERNAL_ERROR_DRVHOOKCS_FLTLIB_GETPROCADDRESS , Internal use only.
CS_INTERNAL_ERROR_MULTIBYTETOWIDECHAR , Internal use only.
CS_INTERNAL_ERROR_ABS_LOC_FUNCTION_TO_PDG_NO_PDG , Internal use only.
CS_INTERNAL_ERROR_REGISTRY_WRITE_FAILED , Internal use only.
CS_INTERNAL_ERROR_DRVHOOKCS_SINGLE_PARSE_VERSION , Internal use only.
CS_INTERNAL_ERROR_DRVHOOKCS_INCOMPATIBLE_VERSION , Internal use only.
CS_INTERNAL_ERROR_VALUESET_NOT_FOUND , Internal use only.
CS_INTERNAL_ERROR_NO_VALUESET_INTERFACE , Internal use only.
CS_ON_BAD_FILE_SYSTEM , The file is on a file system that could cause reliability or performance problems.
CS_ACCESS_DENIED , Access is denied.
CS_SSL_CERTIFICATE_HOSTNAME_MISMATCH , The server's TLS/SSL certificate indicates via the Common Name field that it is intended for a different hostname than appears in the URL being used.
CS_SSL_CERTIFICATE_ERROR , One of several issues with the server's TLS/SSL certificate make it invalid.
CS_ERROR_LICENSE_EXPIRED , The license has expired since being checked out.
CS_INTERNAL_ERROR_UNKNOWN This error should never be seen by an API client, even when something is horribly wrong.
} cs_result
Notes An enumeration of return codes for CodeSonar API functions.

The 'internal' errors CS_INTERNAL_ERROR_* should never occur if CodeSurfer/CodeSonar is functioning correctly and well-formed inputs have been provided to the function in question. If you see such an error but do not think you have introduced memory errors or the like, then please report any details about what caused the error to CodeSecure support.