iverilog/vpi/cppcheck.sup

339 lines
9.6 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
2019-05-15 07:32:47 +02:00
asctimeCalled:fstapi.c:935
allocaCalled:fstapi.c:2310
2019-03-27 06:41:51 +01:00
unreadVariable:fstapi.c:188
unreadVariable:fstapi.c:189
2019-05-15 07:32:47 +02:00
unreadVariable:fstapi.c:1602
unreadVariable:fstapi.c:1610
unreadVariable:fstapi.c:1614
unreadVariable:fstapi.c:1619
unreadVariable:fstapi.c:1642
unreadVariable:fstapi.c:1648
unreadVariable:fstapi.c:1649
unreadVariable:fstapi.c:1653
unreadVariable:fstapi.c:2742
unreadVariable:fstapi.c:6324
variableScope:fstapi.c:1035
variableScope:fstapi.c:668
2019-03-27 06:41:51 +01:00
variableScope:fstapi.c:1342
2019-05-15 07:32:47 +02:00
variableScope:fstapi.c:1343
variableScope:fstapi.c:1344
variableScope:fstapi.c:1401
variableScope:fstapi.c:1984
variableScope:fstapi.c:2113
variableScope:fstapi.c:2546
variableScope:fstapi.c:2547
2019-03-27 06:41:51 +01:00
variableScope:fstapi.c:2736
variableScope:fstapi.c:2737
2015-12-19 20:55:52 +01:00
variableScope:fstapi.c:2738
2019-03-27 06:41:51 +01:00
variableScope:fstapi.c:2739
variableScope:fstapi.c:2740
2019-05-15 07:32:47 +02:00
variableScope:fstapi.c:2741
variableScope:fstapi.c:2742
variableScope:fstapi.c:2843
variableScope:fstapi.c:2844
variableScope:fstapi.c:2848
variableScope:fstapi.c:2964
variableScope:fstapi.c:3003
variableScope:fstapi.c:3004
variableScope:fstapi.c:3723
2019-03-27 06:41:51 +01:00
variableScope:fstapi.c:3901
2019-05-15 07:32:47 +02:00
variableScope:fstapi.c:3903
variableScope:fstapi.c:4345
variableScope:fstapi.c:4346
variableScope:fstapi.c:4355
variableScope:fstapi.c:4618
variableScope:fstapi.c:4889
variableScope:fstapi.c:4892
2019-03-27 06:41:51 +01:00
variableScope:fstapi.c:5388
2019-05-15 07:32:47 +02:00
variableScope:fstapi.c:5392
variableScope:fstapi.c:5392
variableScope:fstapi.c:5393
variableScope:fstapi.c:5551
variableScope:fstapi.c:5609
variableScope:fstapi.c:5922
variableScope:fstapi.c:5925
variableScope:fstapi.c:6219
variableScope:fstapi.c:6324
variableScope:fstapi.c:6325
variableScope:fstapi.c:6356
variableScope:fstapi.c:6584
variableScope:fstapi.c:6760
variableScope:fstapi.c:6761
variableScope:fstapi.c:6762
2019-03-27 06:41:51 +01:00
// These functions are not used by Icarus
// fstReaderClrFacProcessMask()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3455
// fstReaderClrFacProcessMaskAll()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3484
// fstReaderGetAliasCount()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3547
// fstReaderGetCurrentFlatScope()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3293
2019-03-27 06:41:51 +01:00
// fstReaderGetCurrentScopeLen()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3390
// fstReaderGetCurrentScopeUserInfo()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3307
// fstReaderGetDateString()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3575
// fstReaderGetDoubleEndianMatchState()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3561
// fstReaderGetDumpActivityChangeTime()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3603
// fstReaderGetDumpActivityChangeValue()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3618
// fstReaderGetEndTime()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3512
// fstReaderGetFacProcessMask()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3418
// fstReaderGetFileType()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3582
// fstReaderGetFseekFailed()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3403
// fstReaderGetMaxHandle()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3540
// fstReaderGetMemoryUsedByWriter()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3519
// fstReaderGetNumberDumpActivityChanges()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3596
// fstReaderGetScopeCount()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3526
// fstReaderGetStartTime()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3505
// fstReaderGetTimescale()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3498
// fstReaderGetTimezero()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3589
// fstReaderGetValueChangeSectionCount()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3554
// fstReaderGetValueFromHandleAtTime()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:5804
// fstReaderGetVarCount()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3533
// fstReaderGetVersionString()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3568
// fstReaderIterBlocks()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:4767
// fstReaderIterBlocksSetNativeDoublesOnCallback()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3668
// fstReaderIterateHier()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3897
// fstReaderIterateHierRewind()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3877
// fstReaderOpen()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:4665
// fstReaderOpenForUtilitiesOnly()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:4657
// fstReaderPushScope()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3355
// fstReaderResetScope()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3344
// fstReaderSetFacProcessMask()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3437
// fstReaderSetFacProcessMaskAll()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3473
// fstReaderSetLimitTimeRange()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3633
// fstReaderSetUnlimitedTimeRange()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3646
// fstReaderSetVcdExtensions()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:3657
2019-03-27 06:41:51 +01:00
// fstUtilityExtractEnumTableFromString()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:6757
2019-03-27 06:41:51 +01:00
// fstUtilityFreeEnumTable()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:6818
2019-03-27 06:41:51 +01:00
// fstWriterCreateEnumTable()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2731
// fstWriterCreateVar2()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2533
2019-03-27 06:41:51 +01:00
// fstWriterEmitEnumTableRef()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2826
// fstWriterEmitVariableLengthValueChange()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2957
// fstWriterGetFseekFailed()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2516
// fstWriterSetAttrEnd()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2719
// fstWriterSetComment()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2365
// fstWriterSetEnvVar()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2377
// fstWriterSetFileType()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2240
// fstWriterSetParallelMode()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2476
// fstWriterSetTimezero()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2441
2015-04-09 04:34:27 +02:00
// fstWriterSetValueList()
2019-05-15 07:32:47 +02:00
unusedFunction:fstapi.c:2371
// 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
2019-05-15 07:32:47 +02:00
unreadVariable:fastlz.c:421
2016-08-15 05:53:11 +02:00
unusedLabel:fastlz.c:545
// These functions are not used by Icarus
// fastlz_compress_level()
unusedFunction:fastlz.c:150
2017-10-23 09:16:51 +02:00
// FASTLZ_COMPRESSOR()
unusedFunction:fastlz.c:162
// FASTLZ_DECOMPRESSOR()
unusedFunction:fastlz.c:416
// 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()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1463
// LZ4_compress_destSize()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:915
// LZ4_compress_fast_force()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:708
// LZ4_compress_forceExtDict()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1066
// LZ4_compress_limitedOutput()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1458
// LZ4_compress_limitedOutput_continue()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1462
// LZ4_compress_limitedOutput_withState()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1460
// LZ4_compress_withState()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1461
// LZ4_create()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1492
// LZ4_createStream()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:938
// LZ4_createStreamDecode()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1322
// LZ4_decompress_fast_continue()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1387
// LZ4_decompress_fast_usingDict()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1442
// LZ4_decompress_fast_withPrefix64k()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1513
// LZ4_decompress_safe_continue()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1358
// LZ4_decompress_safe_forceExtDict()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1448
// LZ4_decompress_safe_usingDict()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1437
// LZ4_decompress_safe_withPrefix64k()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1508
// LZ4_freeStream()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:951
// LZ4_freeStreamDecode()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1328
// LZ4_loadDict()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:959
// LZ4_resetStreamState()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1485
// LZ4_setStreamDecode()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1341
// LZ4_sizeofState()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:376
// LZ4_sizeofStreamState()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1477
// LZ4_slideInputBuffer()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1499
// LZ4_uncompress()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1471
// LZ4_uncompress_unknownOutputSize()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:1472
// LZ4_versionNumber()
2019-03-27 06:41:51 +01:00
unusedFunction:lz4.c:374
// 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