221 lines
6.4 KiB
Plaintext
221 lines
6.4 KiB
Plaintext
// Skip the use STL messages
|
|
//useStlAlgorithm
|
|
|
|
// Skip all memory issues since they should be handled by ivl_alloc.h
|
|
ctunullpointerOutOfMemory
|
|
nullPointerArithmeticOutOfMemory
|
|
nullPointerOutOfMemory
|
|
|
|
// Skip strdup() not constant.
|
|
//constVariablePointer:main.cc:400
|
|
|
|
// Only for conditional debugging
|
|
knownConditionTrueFalse:lib_main.cc:289
|
|
|
|
// For now these casts have to be used
|
|
dangerousTypeCast:array_common.cc:188
|
|
dangerousTypeCast:array_common.cc:201
|
|
invalidPointerCast:class_type.cc:203
|
|
invalidPointerCast:class_type.cc:326
|
|
invalidPointerCast:class_type.cc:332
|
|
invalidPointerCast:class_type.cc:338
|
|
invalidPointerCast:class_type.cc:339
|
|
cstyleCast:ufunc.cc:80
|
|
|
|
// Skip the sscanf() field width limit warning
|
|
invalidscanf:compile.cc:597
|
|
invalidscanf:compile.cc:609
|
|
|
|
// By convention we put statics at the top scope.
|
|
variableScope:vpi_priv.cc:623
|
|
|
|
// Operator new/delete are static so cannot override
|
|
duplInheritedMember:vvp_net.h:1476
|
|
duplInheritedMember:vvp_net.h:1477
|
|
duplInheritedMember:vvp_net_sig.h:187
|
|
duplInheritedMember:vvp_net_sig.h:188
|
|
duplInheritedMember:vvp_net_sig.h:253
|
|
duplInheritedMember:vvp_net_sig.h:254
|
|
duplInheritedMember:vvp_net_sig.h:313
|
|
duplInheritedMember:vvp_net_sig.h:314
|
|
duplInheritedMember:vvp_net_sig.h:377
|
|
duplInheritedMember:vvp_net_sig.h:378
|
|
duplInheritedMember:vvp_net_sig.cc:442
|
|
duplInheritedMember:vvp_net_sig.cc:580
|
|
duplInheritedMember:vvp_net_sig.cc:585
|
|
duplInheritedMember:vvp_net_sig.cc:697
|
|
duplInheritedMember:vvp_net_sig.cc:702
|
|
duplInheritedMember:vvp_net_sig.cc:810
|
|
duplInheritedMember:vvp_net_sig.cc:815
|
|
duplInheritedMember:schedule.cc:143
|
|
duplInheritedMember:schedule.cc:149
|
|
duplInheritedMember:schedule.cc:212
|
|
duplInheritedMember:schedule.cc:218
|
|
duplInheritedMember:schedule.cc:249
|
|
duplInheritedMember:schedule.cc:255
|
|
duplInheritedMember:schedule.cc:286
|
|
duplInheritedMember:schedule.cc:292
|
|
duplInheritedMember:schedule.cc:319
|
|
duplInheritedMember:schedule.cc:325
|
|
duplInheritedMember:schedule.cc:391
|
|
duplInheritedMember:schedule.cc:397
|
|
duplInheritedMember:schedule.cc:480
|
|
duplInheritedMember:schedule.cc:486
|
|
duplInheritedMember:schedule.cc:521
|
|
duplInheritedMember:schedule.cc:527
|
|
|
|
// The derived class calls the base class routine and uses private inheritance
|
|
duplInheritedMember:symbols.h:112
|
|
|
|
// This is not always true
|
|
duplicateValueTernary:class_type.cc:268
|
|
|
|
// cppcheck is wrong this can be true or false
|
|
knownConditionTrueFalse:vthread.cc:2986
|
|
|
|
// cppcheck does not relize this is deleted[] in the called routine
|
|
leakNoVarFunctionCall:compile.cc:452
|
|
|
|
// Yes, these are not currently initialized in the constructor
|
|
// All are added after __vpiSysTaskCall is built
|
|
uninitMemberVar:vpi_priv.h:944
|
|
// All are added after __vpiSignal is built
|
|
uninitMemberVar:vpi_priv.h:392
|
|
// run_run_ptr is added after the event is built
|
|
uninitMemberVar:delay.h:79
|
|
// The array values are added after it is allocated
|
|
noConstructor:vpi_priv.h:778
|
|
// The enum values are added after this is built
|
|
uninitMemberVar:enum_type.cc:54
|
|
// The names for the enum values are added after allocation
|
|
uninitMemberVar:enum_type.cc:100
|
|
// The thread values get assigned after being created
|
|
uninitMemberVar:vthread.cc:316
|
|
// The mod path has the values added after creation
|
|
uninitMemberVar:delay.cc:1005
|
|
uninitMemberVar:delay.cc:1045
|
|
// The intermod path has the values added after creation
|
|
uninitMemberVar:delay.cc:1395
|
|
|
|
// Index calculation
|
|
thisSubtraction:vpi_priv.h:430
|
|
thisSubtraction:array_common.h:91
|
|
|
|
// The interface is from the standard.
|
|
constParameterCallback:vpi_priv.cc:1110
|
|
constParameterPointer:vpi_mcd.cc:158
|
|
|
|
// cppcheck is missing the code adds a \0 at the previous location.
|
|
knownConditionTrueFalse:vpi_modules.cc:118
|
|
redundantAssignment:vpi_modules.cc:117
|
|
|
|
// cppcheck does not undestand the format types match
|
|
invalidScanfArgType_int:compile.cc:597
|
|
invalidScanfArgType_int:compile.cc:603
|
|
invalidScanfArgType_int:compile.cc:609
|
|
invalidScanfArgType_int:vthread.cc:4545
|
|
invalidScanfArgType_int:vthread.cc:4548
|
|
invalidScanfArgType_int:vthread.cc:4551
|
|
invalidScanfArgType_int:vthread.cc:4554
|
|
|
|
// The new() operator is always used to allocate space for this class and
|
|
// pool is defined there.
|
|
uninitMemberVar:vvp_net.cc:192
|
|
|
|
// These functions are not used by Icarus
|
|
// vpi_chk_error()
|
|
unusedFunction:vpi_priv.cc:193
|
|
// vpi_compare_objects()
|
|
unusedFunction:vpi_priv.cc:209
|
|
// vpi_control()
|
|
unusedFunction:vpi_priv.cc:1913
|
|
// vpi_flush()
|
|
unusedFunction:vpi_priv.cc:1519
|
|
// vpi_fopen()
|
|
unusedFunction:vpi_mcd.cc:287
|
|
// vpi_get_file()
|
|
unusedFunction:vpi_mcd.cc:321
|
|
// vpi_get_systf_info()
|
|
unusedFunction:vpi_priv.cc:225
|
|
// vpi_get_time()
|
|
unusedFunction:vpi_priv.cc:532
|
|
// vpi_get_userdata()
|
|
unusedFunction:vpi_tasks.cc:1020
|
|
// vpi_get_vlog_info()
|
|
unusedFunction:vpi_priv.cc:561
|
|
// vpi_handle_by_index()
|
|
unusedFunction:vpi_priv.cc:1273
|
|
// vpi_handle_by_name()
|
|
unusedFunction:vpi_priv.cc:1356
|
|
// vpi_mcd_close()
|
|
unusedFunction:vpi_mcd.cc:111
|
|
// vpi_mcd_name()
|
|
unusedFunction:vpi_mcd.cc:138
|
|
// vpi_mcd_open()
|
|
unusedFunction:vpi_mcd.cc:153
|
|
// vpi_put_userdata()
|
|
unusedFunction:vpi_tasks.cc:1010
|
|
// vpi_register_cb()
|
|
unusedFunction:vpi_callback.cc:552
|
|
// vpi_register_systf()
|
|
unusedFunction:vpi_tasks.cc:990
|
|
// vpi_remove_cb()
|
|
unusedFunction:vpi_callback.cc:601
|
|
// vpi_sim_control()
|
|
unusedFunction:vpi_priv.cc:1904
|
|
// vpi_vprintf()
|
|
unusedFunction:vpi_priv.cc:1505
|
|
|
|
// The following are used in the embedded version of iverilog.
|
|
// vvp_init()
|
|
unusedFunction:lib_main.cc:275
|
|
// vvp_run()
|
|
unusedFunction:lib_main.cc:339
|
|
// vvp_set_quiet_flag()
|
|
unusedFunction:lib_main.cc:71
|
|
// vvp_set_stop_is_finish()
|
|
unusedFunction:lib_main.cc:62
|
|
// vvp_set_verbose_flag()
|
|
unusedFunction:lib_main.cc:76
|
|
|
|
// The following are just unused.
|
|
// alias_word()
|
|
unusedFunction:array.cc:848
|
|
// intermodpath_delete()
|
|
unusedFunction:delay.cc:1462
|
|
// count_force4_pool()
|
|
unusedFunction:schedule.cc:402
|
|
// call_scope()
|
|
unusedFunction:ufunc.h:62
|
|
// get_bit()
|
|
unusedFunction:vpi_priv.h:477
|
|
// copy_bits()
|
|
unusedFunction:vvp_net.cc:615
|
|
// mov()
|
|
unusedFunction:vvp_net.cc:1546
|
|
// eq_xz()
|
|
unusedFunction:vvp_net.cc:1751
|
|
// as_string()
|
|
unusedFunction:vvp_net.cc:1854
|
|
// fully_featured_resolv_()
|
|
unusedFunction:vvp_net.cc:3580
|
|
// words()
|
|
unusedFunction:vvp_net.h:595
|
|
// force_vec8()
|
|
unusedFunction:vvp_net_sig.cc:128
|
|
|
|
// Unused functions from the lexor
|
|
duplicateBreak:lexor.lex
|
|
unusedStructMember:lexor.lex
|
|
constVariablePointer:lexor.cc
|
|
cstyleCast:lexor.cc
|
|
knownConditionTrueFalse:lexor.cc
|
|
nullPointer:lexor.cc
|
|
redundantInitialization:lexor.cc
|
|
unusedFunction:lexor.cc
|
|
unusedStructMember:lexor.cc
|
|
allocaCalled:parse.cc
|
|
constParameterPointer:parse.cc
|
|
constVariablePointer:parse.cc
|
|
knownConditionTrueFalse:parse.cc
|