iverilog/vpi
Jevin Sweval e80746c50f Fix sscanf overflows
Without this fix, ivlh_textio was failing at step 11 where the time is read from the file. This was because clang happens to put period directly after the units buffer on the stack. sscanf writes the terminating NUL overwriting the low byte of period, which is 100, so it returns 0.

Example clang warning fixed:

warning: 'sscanf' may overflow; destination buffer in argument 4 has size 2, but the corresponding specifier may require size 3 [-Wfortify-source]
2022-07-04 14:34:14 -07:00
..
Makefile.in Update cppcheck to not run posix and add some -U flags 2021-01-02 13:23:59 -08:00
cppcheck.sup Update cppcheck waivers 2020-12-31 23:05:12 -08:00
fastlz.c Update to the latest GTKWAve files 2020-03-30 15:49:28 -07:00
fastlz.h Update to the latest GTKWAve files 2020-03-30 15:49:28 -07:00
fstapi.c Update to the latest from GTKWave 2022-03-22 23:32:25 -07:00
fstapi.h Update fstapi files to latest from GTKWave 2021-06-17 21:41:36 -07:00
libvpi.c Fix GitHub issue #324 - replace __CYGWIN32__ with __CYGWIN__. 2020-05-10 14:06:53 +01:00
lxt2_write.c Update to latest GTKWAve files 2018-10-06 09:26:39 -07:00
lxt2_write.h Update to latest GTKWAve files 2018-10-06 09:26:39 -07:00
lxt_write.c Update fst and lxt files to latest from GTKWave also update cppcheck file 2014-07-09 16:13:26 -07:00
lxt_write.h Update files from GTKWave to the latest from SVN. 2014-06-07 18:22:32 -07:00
lz4.c Update to the latest GTKWAve files 2020-03-30 15:49:28 -07:00
lz4.h Update to the latest GTKWAve files 2020-03-30 15:49:28 -07:00
mt19937int.c Fix some cppcheck warnings 2013-04-15 11:54:15 -07:00
sdf_lexor.lex Add support for PATHPULSE, PATHPULSEPERCENT, and PERIOD in SDF parser. 2019-08-24 00:23:29 +01:00
sdf_parse.y Add support for PATHPULSE, PATHPULSEPERCENT, and PERIOD in SDF parser. 2019-08-24 00:23:29 +01:00
sdf_parse_priv.h Update header files to use a more standard name to prevent rereading 2014-07-23 13:42:56 -07:00
sdf_priv.h Update header files to use a more standard name to prevent rereading 2014-07-23 13:42:56 -07:00
stringheap.c updated FSF-address 2012-08-29 10:12:10 -07:00
stringheap.h Update header files to use a more standard name to prevent rereading 2014-07-23 13:42:56 -07:00
sys_clog2.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_convert.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_countdrivers.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_darray.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_deposit.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_display.c Some clean up and add initial support for elaboration system tasks 2021-02-01 00:22:01 -08:00
sys_fileio.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_finish.c Initial fix for GH449 2020-12-28 09:56:49 -08:00
sys_fst.c Fix vcd dump of real value parameters 2022-05-21 10:13:27 -07:00
sys_icarus.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_lxt.c Fix waveform dumpers to use vpiInstance when dumping all variables. 2021-04-21 09:23:19 +01:00
sys_lxt2.c Fix waveform dumpers to use vpiInstance when dumping all variables. 2021-04-21 09:23:19 +01:00
sys_plusargs.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_priv.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_priv.h Use a common routine to get and check the FD/MCD 2020-05-16 21:06:35 -07:00
sys_queue.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_random.c Use explicit 32-bit integers in random number system functions (issue #661). 2022-04-03 19:45:44 +01:00
sys_random.h Update header files to use a more standard name to prevent rereading 2014-07-23 13:42:56 -07:00
sys_random_mti.c Remove missing parameter warnings 2014-07-09 14:16:57 -07:00
sys_readmem.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_readmem_lex.h Have $readmem() print a warning if there are too many digits in words. 2019-09-30 13:14:40 -07:00
sys_readmem_lex.lex Fix a couple more cppcheck warnings 2021-01-06 22:39:16 -08:00
sys_scanf.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_sdf.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
sys_table.c Move the bit vector functions to the SV table 2018-09-03 08:32:28 -07:00
sys_time.c Fuss with C function prototypes 2014-07-08 13:44:11 -07:00
sys_vcd.c Fix vcd dump of real value parameters 2022-05-21 10:13:27 -07:00
sys_vcdoff.c Remove missing parameter warnings 2014-07-09 14:16:57 -07:00
table_mod.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
table_mod.h Update header files to use a more standard name to prevent rereading 2014-07-23 13:42:56 -07:00
table_mod_lexor.lex Update flex destroy routines to work for version 2.6 and greater 2017-11-16 19:11:50 -08:00
table_mod_parse.y Fix some errors found with cppcheck 2015-11-02 00:14:29 -08:00
v2005_math.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
v2009_array.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
v2009_bitvec.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
v2009_enum.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
v2009_string.c Implement the string val-to-a methods 2022-02-27 20:28:30 -08:00
v2009_table.c Make sure vlog_startup_routines is exported from Windows VPI modules. 2019-10-22 20:33:52 +01:00
va_math.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
vams_simparam.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
vcd_priv.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
vcd_priv.h Add parameters to fst dumps 2022-05-16 20:47:32 -07:00
vcd_priv2.cc Eliminate a few more easy warnings 2014-07-10 12:30:08 -07:00
vhdl_table.c Update VPI routines to on error signal VVP to return non-zero 2021-01-20 23:50:53 -08:00
vhdl_textio.c Fix sscanf overflows 2022-07-04 14:34:14 -07:00
vpi_config.h.in Update header files to use a more standard name to prevent rereading 2014-07-23 13:42:56 -07:00
vpi_debug.c Remove missing parameter warnings 2014-07-09 14:16:57 -07:00
wavealloca.h Update to the latest GTKWAve files 2020-03-30 15:49:28 -07:00