2917dce477
These errors were reported by cppcheck: tests/cris/check_openpf1.c:30: error: Mismatching allocation and deallocation: f tests/cris/check_openpf2.c:13: error: Mismatching allocation and deallocation: f tests/cris/check_stat3.c:16: error: Buffer overrun possible for long cmd-line args tests/cris/check_stat4.c:18: error: Buffer overrun possible for long cmd-line args The first two are obvious coding errors (fopen needs fclose, not close). The last two may seem less important (nobody will start test code with an argument of more than 1022 characters which raises a buffer overrun). Fixing them nevertheless helps with static code checks like those done by cppcheck. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> |
||
---|---|---|
.. | ||
.gdbinit | ||
check_abs.c | ||
check_addc.c | ||
check_addcm.c | ||
check_addi.s | ||
check_addiv32.s | ||
check_addm.s | ||
check_addo.c | ||
check_addoq.c | ||
check_addq.s | ||
check_addr.s | ||
check_addxc.s | ||
check_addxm.s | ||
check_addxr.s | ||
check_andc.s | ||
check_andm.s | ||
check_andq.s | ||
check_andr.s | ||
check_asr.s | ||
check_ba.s | ||
check_bas.s | ||
check_bcc.s | ||
check_bound.c | ||
check_boundc.s | ||
check_boundr.s | ||
check_btst.s | ||
check_clearfv32.s | ||
check_clrjmp1.s | ||
check_cmp-2.s | ||
check_cmpc.s | ||
check_cmpm.s | ||
check_cmpq.s | ||
check_cmpr.s | ||
check_cmpxc.s | ||
check_cmpxm.s | ||
check_dstep.s | ||
check_ftag.c | ||
check_gcctorture_pr28634-1.c | ||
check_gcctorture_pr28634.c | ||
check_glibc_kernelversion.c | ||
check_hello.c | ||
check_int64.c | ||
check_jsr.s | ||
check_lapc.s | ||
check_lsl.s | ||
check_lsr.s | ||
check_lz.c | ||
check_mapbrk.c | ||
check_mcp.s | ||
check_mmap1.c | ||
check_mmap2.c | ||
check_mmap3.c | ||
check_movdelsr1.s | ||
check_movecr.s | ||
check_movei.s | ||
check_movemr.s | ||
check_movemrv32.s | ||
check_moveq.c | ||
check_mover.s | ||
check_moverm.s | ||
check_movmp.s | ||
check_movpmv32.s | ||
check_movpr.s | ||
check_movprv32.s | ||
check_movscr.s | ||
check_movsm.s | ||
check_movsr.s | ||
check_movucr.s | ||
check_movum.s | ||
check_movur.s | ||
check_mulv32.s | ||
check_mulx.s | ||
check_neg.s | ||
check_not.s | ||
check_openpf1.c | ||
check_openpf2.c | ||
check_openpf3.c | ||
check_openpf4.c | ||
check_openpf5.c | ||
check_orc.s | ||
check_orm.s | ||
check_orq.s | ||
check_orr.s | ||
check_ret.s | ||
check_scc.s | ||
check_settls1.c | ||
check_sigalrm.c | ||
check_stat1.c | ||
check_stat2.c | ||
check_stat3.c | ||
check_stat4.c | ||
check_subc.s | ||
check_subm.s | ||
check_subq.s | ||
check_subr.s | ||
check_swap.c | ||
check_time1.c | ||
check_time2.c | ||
check_xarith.s | ||
crisutils.h | ||
crt.s | ||
Makefile | ||
README | ||
sys.c | ||
sys.h | ||
testutils.inc |
Test-suite for the cris port. Heavily based on the test-suite for the CRIS port of sim by Hans-Peter Nilsson.