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
lxt_write.h
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
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
sdf_priv.h
stringheap.c
stringheap.h
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
sys_random_mti.c
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
sys_time.c
sys_vcd.c Fix vcd dump of real value parameters 2022-05-21 10:13:27 -07:00
sys_vcdoff.c
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
table_mod_lexor.lex
table_mod_parse.y
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
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
vpi_debug.c
wavealloca.h Update to the latest GTKWAve files 2020-03-30 15:49:28 -07:00