iverilog/vpi/cppcheck.sup

342 lines
9.7 KiB
Plaintext
Raw Normal View History

// The following three files are copied directly from GTKWave and we do not
// have control over them. Tony has a specific programming style so these
// problems will not be fixed.
// fstapi.c from GTKWave
2021-01-01 08:04:39 +01:00
asctimeCalled:fstapi.c:955
allocaCalled:fstapi.c:2386
unreadVariable:fstapi.c:204
unreadVariable:fstapi.c:205
unreadVariable:fstapi.c:1645
2019-05-15 07:32:47 +02:00
unreadVariable:fstapi.c:1653
2021-01-01 08:04:39 +01:00
unreadVariable:fstapi.c:1657
unreadVariable:fstapi.c:1662
unreadVariable:fstapi.c:1685
unreadVariable:fstapi.c:1691
unreadVariable:fstapi.c:1692
unreadVariable:fstapi.c:1696
unreadVariable:fstapi.c:2818
unreadVariable:fstapi.c:6521
variableScope:fstapi.c:684
variableScope:fstapi.c:1078
variableScope:fstapi.c:1385
variableScope:fstapi.c:1386
variableScope:fstapi.c:1387
variableScope:fstapi.c:1444
variableScope:fstapi.c:2056
variableScope:fstapi.c:2189
variableScope:fstapi.c:2622
variableScope:fstapi.c:2623
variableScope:fstapi.c:2812
variableScope:fstapi.c:2813
variableScope:fstapi.c:2814
variableScope:fstapi.c:2815
variableScope:fstapi.c:2816
variableScope:fstapi.c:2817
variableScope:fstapi.c:2818
variableScope:fstapi.c:2919
variableScope:fstapi.c:2920
variableScope:fstapi.c:2924
variableScope:fstapi.c:3161
variableScope:fstapi.c:3200
variableScope:fstapi.c:3201
variableScope:fstapi.c:3920
variableScope:fstapi.c:4098
variableScope:fstapi.c:4100
variableScope:fstapi.c:4542
variableScope:fstapi.c:4543
variableScope:fstapi.c:4552
variableScope:fstapi.c:4815
variableScope:fstapi.c:5086
variableScope:fstapi.c:5089
variableScope:fstapi.c:5585
variableScope:fstapi.c:5589
variableScope:fstapi.c:5590
variableScope:fstapi.c:5748
variableScope:fstapi.c:5806
variableScope:fstapi.c:6119
variableScope:fstapi.c:6122
variableScope:fstapi.c:6416
variableScope:fstapi.c:6521
variableScope:fstapi.c:6522
variableScope:fstapi.c:6553
variableScope:fstapi.c:6781
variableScope:fstapi.c:6957
variableScope:fstapi.c:6958
variableScope:fstapi.c:6959
2019-03-27 06:41:51 +01:00
// These functions are not used by Icarus
// fstReaderClrFacProcessMask()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3652
// fstReaderClrFacProcessMaskAll()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3681
// fstReaderGetAliasCount()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3744
// fstReaderGetCurrentFlatScope()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3490
2019-03-27 06:41:51 +01:00
// fstReaderGetCurrentScopeLen()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3587
// fstReaderGetCurrentScopeUserInfo()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3504
// fstReaderGetDateString()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3772
// fstReaderGetDoubleEndianMatchState()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3758
// fstReaderGetDumpActivityChangeTime()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3800
// fstReaderGetDumpActivityChangeValue()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3815
// fstReaderGetEndTime()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3709
// fstReaderGetFacProcessMask()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3615
// fstReaderGetFileType()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3779
// fstReaderGetFseekFailed()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3600
// fstReaderGetMaxHandle()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3737
// fstReaderGetMemoryUsedByWriter()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3716
// fstReaderGetNumberDumpActivityChanges()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3793
// fstReaderGetScopeCount()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3723
// fstReaderGetStartTime()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3702
// fstReaderGetTimescale()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3695
// fstReaderGetTimezero()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3786
// fstReaderGetValueChangeSectionCount()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3751
// fstReaderGetValueFromHandleAtTime()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:6001
// fstReaderGetVarCount()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3730
// fstReaderGetVersionString()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3765
// fstReaderIterBlocks()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:4964
// fstReaderIterBlocksSetNativeDoublesOnCallback()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3865
// fstReaderIterateHier()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:4094
// fstReaderIterateHierRewind()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:4074
// fstReaderOpen()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:4862
// fstReaderOpenForUtilitiesOnly()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:4854
// fstReaderPushScope()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3552
// fstReaderResetScope()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3541
// fstReaderSetFacProcessMask()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3634
// fstReaderSetFacProcessMaskAll()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3670
// fstReaderSetLimitTimeRange()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3830
// fstReaderSetUnlimitedTimeRange()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3843
// fstReaderSetVcdExtensions()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3854
2019-03-27 06:41:51 +01:00
// fstUtilityExtractEnumTableFromString()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:6954
2019-03-27 06:41:51 +01:00
// fstUtilityFreeEnumTable()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:7015
2019-03-27 06:41:51 +01:00
// fstWriterCreateEnumTable()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2807
// fstWriterCreateVar2()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2609
2019-03-27 06:41:51 +01:00
// fstWriterEmitEnumTableRef()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2902
// fstWriterEmitValueChangeVec32()
unusedFunction:fstapi.c:3054
// fstWriterEmitValueChangeVec64()
unusedFunction:fstapi.c:3103
// fstWriterEmitVariableLengthValueChange()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:3154
// fstWriterGetFseekFailed()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2592
// fstWriterSetAttrEnd()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2795
// fstWriterSetComment()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2441
// fstWriterSetEnvVar()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2453
// fstWriterSetFileType()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2316
// fstWriterSetParallelMode()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2552
// fstWriterSetTimezero()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2517
2015-04-09 04:34:27 +02:00
// fstWriterSetValueList()
2021-01-01 08:04:39 +01:00
unusedFunction:fstapi.c:2447
// lxt2_write.c from GTKWave
2016-08-15 05:53:11 +02:00
allocaCalled:lxt2_write.c:1813
allocaCalled:lxt2_write.c:1819
2013-04-15 20:53:07 +02:00
variableScope:lxt2_write.c:33
variableScope:lxt2_write.c:63
2013-04-15 20:53:07 +02:00
variableScope:lxt2_write.c:196
variableScope:lxt2_write.c:463
variableScope:lxt2_write.c:464
variableScope:lxt2_write.c:523
variableScope:lxt2_write.c:581
variableScope:lxt2_write.c:587
2013-04-15 20:53:07 +02:00
variableScope:lxt2_write.c:1157
variableScope:lxt2_write.c:1613
variableScope:lxt2_write.c:2060
// These functions are not used by Icarus
// lxt2_wr_emit_value_int()
unusedFunction:lxt2_write.c:1611
// lxt2_wr_inc_time_by_delta()
unusedFunction:lxt2_write.c:997
// lxt2_wr_inc_time_by_delta64()
unusedFunction:lxt2_write.c:1007
// lxt2_wr_set_checkpoint_off()
unusedFunction:lxt2_write.c:835
// lxt2_wr_set_checkpoint_on()
unusedFunction:lxt2_write.c:843
// lxt2_wr_set_maxgranule()
unusedFunction:lxt2_write.c:1567
// lxt2_wr_set_partial_preference()
unusedFunction:lxt2_write.c:812
// lxt2_wr_set_timezero()
2019-03-27 06:41:51 +01:00
unusedFunction:lxt2_write.c:2201
// lxt2_wr_symbol_bracket_stripping()
unusedFunction:lxt2_write.c:1581
// lxt2_wr_symbol_find()
unusedFunction:lxt2_write.c:877
// lxt_write.c from GTKWave
2016-08-15 05:53:11 +02:00
shiftNegative:lxt_write.c:2700
shiftNegative:lxt_write.c:2744
variableScope:lxt_write.c:31
2013-04-15 20:53:07 +02:00
variableScope:lxt_write.c:83
variableScope:lxt_write.c:527
variableScope:lxt_write.c:528
variableScope:lxt_write.c:587
variableScope:lxt_write.c:640
2013-04-15 20:53:07 +02:00
variableScope:lxt_write.c:780
variableScope:lxt_write.c:880
variableScope:lxt_write.c:1056
variableScope:lxt_write.c:1057
variableScope:lxt_write.c:1058
2013-04-15 20:53:07 +02:00
variableScope:lxt_write.c:1194
variableScope:lxt_write.c:1850
2013-04-15 20:53:07 +02:00
variableScope:lxt_write.c:2029
variableScope:lxt_write.c:2030
variableScope:lxt_write.c:2147
variableScope:lxt_write.c:2148
variableScope:lxt_write.c:2265
variableScope:lxt_write.c:2266
variableScope:lxt_write.c:2595
variableScope:lxt_write.c:2596
variableScope:lxt_write.c:2597
variableScope:lxt_write.c:2598
// These functions are not used by Icarus
// lt_emit_value_int()
unusedFunction:lxt_write.c:1661
// lt_emit_value_string()
unusedFunction:lxt_write.c:2144
// lt_inc_time_by_delta()
unusedFunction:lxt_write.c:1374
// lt_inc_time_by_delta64()
unusedFunction:lxt_write.c:1384
// lt_set_chg_compress()
unusedFunction:lxt_write.c:1457
// lt_set_dict_compress()
unusedFunction:lxt_write.c:1474
// lt_set_time()
unusedFunction:lxt_write.c:1379
// lt_set_timezero()
unusedFunction:lxt_write.c:2820
// lt_symbol_bracket_stripping()
unusedFunction:lxt_write.c:1585
// lt_symbol_find()
unusedFunction:lxt_write.c:1277
// fastlz.c from GTKWave
2021-01-01 08:04:39 +01:00
unreadVariable:fastlz.c:423
2019-05-15 07:32:47 +02:00
2016-08-15 05:53:11 +02:00
unusedLabel:fastlz.c:545
// These functions are not used by Icarus
// fastlz_compress_level()
2021-01-01 08:04:39 +01:00
unusedFunction:fastlz.c:152
2017-10-23 09:16:51 +02:00
// FASTLZ_COMPRESSOR()
2021-01-01 08:04:39 +01:00
unusedFunction:fastlz.c:164
2017-10-23 09:16:51 +02:00
// FASTLZ_DECOMPRESSOR()
2021-01-01 08:04:39 +01:00
unusedFunction:fastlz.c:418
// lz4.c from GTKWave
2019-03-27 06:41:51 +01:00
unusedStructMember:lz4.c:140
// These functions are not used by Icarus
// LZ4_compress_continue()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1465
// LZ4_compress_destSize()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:917
// LZ4_compress_fast_force()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:710
// LZ4_compress_forceExtDict()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1068
// LZ4_compress_limitedOutput()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1460
// LZ4_compress_limitedOutput_continue()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1464
// LZ4_compress_limitedOutput_withState()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1462
// LZ4_compress_withState()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1463
// LZ4_create()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1494
// LZ4_createStream()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:940
// LZ4_createStreamDecode()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1324
// LZ4_decompress_fast_continue()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1389
// LZ4_decompress_fast_usingDict()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1444
// LZ4_decompress_fast_withPrefix64k()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1515
// LZ4_decompress_safe_continue()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1360
// LZ4_decompress_safe_forceExtDict()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1450
// LZ4_decompress_safe_usingDict()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1439
// LZ4_decompress_safe_withPrefix64k()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1510
// LZ4_freeStream()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:953
// LZ4_freeStreamDecode()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1330
// LZ4_loadDict()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:961
// LZ4_resetStreamState()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1487
// LZ4_setStreamDecode()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1343
// LZ4_sizeofState()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:378
// LZ4_sizeofStreamState()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1479
// LZ4_slideInputBuffer()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1501
// LZ4_uncompress()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1473
// LZ4_uncompress_unknownOutputSize()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:1474
// LZ4_versionNumber()
2021-01-01 08:04:39 +01:00
unusedFunction:lz4.c:376
// The routines in sys_random.c are exact copies from IEEE1364-2005 and
// they have scope warnings that we need to ignore.
variableScope:sys_random.c:46
variableScope:sys_random.c:69
variableScope:sys_random.c:92
variableScope:sys_random.c:147