2022-06-29 16:17 ftp://ftp.de.debian.org/debian/pool/main/libx/libx86/libx86_1.1+ds1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 06b408e (2022-06-29 13:43:17 +0200) count: 117 118 elapsed-time: 97.1 131.6 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: libx86-1.1/thunk.c:172:4: error: Null pointer dereference: (char*)0 [nullPointer] libx86-1.1/thunk.c:231:18: style:inconclusive: Function 'LRMI_int' argument 1 names different: declaration 'interrupt' definition 'num'. [funcArgNamesDifferent] libx86-1.1/lrmi.h:77:14: note: Function 'LRMI_int' argument 1 names different: declaration 'interrupt' definition 'num'. libx86-1.1/thunk.c:231:18: note: Function 'LRMI_int' argument 1 names different: declaration 'interrupt' definition 'num'. libx86-1.1/thunk.c:231:41: style:inconclusive: Function 'LRMI_int' argument 2 names different: declaration 'r' definition 'registers'. [funcArgNamesDifferent] libx86-1.1/lrmi.h:77:43: note: Function 'LRMI_int' argument 2 names different: declaration 'r' definition 'registers'. libx86-1.1/thunk.c:231:41: note: Function 'LRMI_int' argument 2 names different: declaration 'r' definition 'registers'. libx86-1.1/thunk.c:243:33: style:inconclusive: Function 'LRMI_call' argument 1 names different: declaration 'r' definition 'registers'. [funcArgNamesDifferent] libx86-1.1/lrmi.h:69:29: note: Function 'LRMI_call' argument 1 names different: declaration 'r' definition 'registers'. libx86-1.1/thunk.c:243:33: note: Function 'LRMI_call' argument 1 names different: declaration 'r' definition 'registers'. libx86-1.1/thunk.c:234:9: style: Variable 'eflags' is assigned a value that is never used. [unreadVariable] libx86-1.1/lrmi.c:806:14: style:inconclusive: Function 'LRMI_int' argument 1 names different: declaration 'interrupt' definition 'i'. [funcArgNamesDifferent] libx86-1.1/lrmi.h:77:14: note: Function 'LRMI_int' argument 1 names different: declaration 'interrupt' definition 'i'. libx86-1.1/lrmi.c:806:14: note: Function 'LRMI_int' argument 1 names different: declaration 'interrupt' definition 'i'. libx86-1.1/lrmi.c:159:26: style: Variable '((unsigned char*)m)[1]' is assigned a value that is never used. [unreadVariable] libx86-1.1/x86-common.c:83:2: error: Memory leak: m [memleak] libx86-1.1/x86-common.c:234:2: error: Memory leak: m [memleak] libx86-1.1/x86-common.c:248:2: error: Memory leak: m [memleak] libx86-1.1/x86-common.c:239:10: error: Null pointer dereference [nullPointer] libx86-1.1/x86-common.c:151:22: style: Parameter 'm' can be declared as pointer to const [constParameter] libx86-1.1/x86emu/debug.c:403:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] libx86-1.1/x86emu/debug.c:404:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] libx86-1.1/x86emu/debug.c:405:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] libx86-1.1/x86emu/debug.c:406:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] libx86-1.1/x86emu/debug.c:407:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] libx86-1.1/x86emu/debug.c:408:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] libx86-1.1/x86emu/debug.c:409:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] libx86-1.1/x86emu/debug.c:410:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] libx86-1.1/x86emu/debug.c:415:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] libx86-1.1/x86emu/fpu.c:125:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/fpu.c:127:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/fpu.c:125:3: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/decode.c:810:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/decode.c:812:4: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/decode.c:810:2: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/decode.c:79:5: style:inconclusive: Function 'x86emu_intr_raise' argument 1 names different: declaration 'type' definition 'intrnum'. [funcArgNamesDifferent] libx86-1.1/x86emu/x86emu/decode.h:58:29: note: Function 'x86emu_intr_raise' argument 1 names different: declaration 'type' definition 'intrnum'. libx86-1.1/x86emu/decode.c:79:5: note: Function 'x86emu_intr_raise' argument 1 names different: declaration 'type' definition 'intrnum'. libx86-1.1/x86emu/ops.c:3460:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3462:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3460:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3482:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3484:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3482:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3504:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3506:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3504:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3526:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3528:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3526:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3548:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3550:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3548:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3570:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3572:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3570:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3592:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3594:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3592:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3614:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3616:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3614:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3636:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3638:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3636:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3658:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3660:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3658:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3680:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3682:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3680:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3702:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3704:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3702:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3724:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3726:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3724:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3746:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3748:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3746:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3768:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3770:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3768:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3790:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3792:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3790:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3812:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3814:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3812:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3834:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3836:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3834:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3856:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3858:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3856:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3878:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3880:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3878:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3900:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3902:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3900:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3926:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3928:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3926:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3948:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3950:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3948:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3970:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3972:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3970:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3992:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:3994:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:3992:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4014:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:4016:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4014:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4036:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:4038:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4036:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4058:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:4060:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4058:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4080:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:4082:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4080:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4102:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:4104:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4102:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4124:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:4126:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4124:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4146:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:4148:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4146:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4168:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:4170:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4168:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4208:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:4210:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:4208:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6784:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:6786:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6784:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6812:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:6814:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6812:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6840:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:6842:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6840:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6868:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:6870:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6868:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6896:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:6898:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6896:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6924:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:6926:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6924:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6952:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:6954:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6952:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6978:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:6980:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:6978:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7008:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:7010:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7008:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7086:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:7088:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7086:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7111:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:7113:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7111:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7188:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:7190:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7188:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7231:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:7233:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:7231:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:9567:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:9569:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:9567:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:9611:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:9613:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:9611:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:9728:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:9730:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:9728:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:9764:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libx86-1.1/x86emu/ops.c:9766:7: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:9764:5: note: Found duplicate branches for 'if' and 'else'. libx86-1.1/x86emu/ops.c:11062:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11062:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11069:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11069:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11079:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11079:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11086:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11086:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11123:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11123:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11129:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11129:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11144:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11144:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11151:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11151:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11161:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11161:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11168:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11168:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11205:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11205:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11211:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11211:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11226:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11226:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11233:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11233:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11243:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11243:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11250:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11250:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11287:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11287:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11293:21: style: Local variable 'destval' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11006:6: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11293:21: note: Shadow variable libx86-1.1/x86emu/ops.c:11306:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11005:7: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11306:22: note: Shadow variable libx86-1.1/x86emu/ops.c:11313:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11005:7: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11313:22: note: Shadow variable libx86-1.1/x86emu/ops.c:11323:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11005:7: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11323:22: note: Shadow variable libx86-1.1/x86emu/ops.c:11330:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11005:7: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11330:22: note: Shadow variable libx86-1.1/x86emu/ops.c:11364:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11005:7: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11364:22: note: Shadow variable libx86-1.1/x86emu/ops.c:11371:22: style: Local variable 'destreg' shadows outer variable [shadowVariable] libx86-1.1/x86emu/ops.c:11005:7: note: Shadowed declaration libx86-1.1/x86emu/ops.c:11371:22: note: Shadow variable libx86-1.1/x86emu/prim_ops.c:1544:21: style: Condition 'cnt<8' is always true [knownConditionTrueFalse] libx86-1.1/x86emu/prim_ops.c:1543:13: note: Assignment 'cnt=s%8', assigned value is less than 8 libx86-1.1/x86emu/prim_ops.c:1544:21: note: Condition 'cnt<8' is always true libx86-1.1/x86emu/prim_ops.c:1555:20: style: Condition 'cnt>=8' is always false [knownConditionTrueFalse] libx86-1.1/x86emu/prim_ops.c:1543:13: note: Assignment 'cnt=s%8', assigned value is less than 8 libx86-1.1/x86emu/prim_ops.c:1555:20: note: Condition 'cnt>=8' is always false libx86-1.1/x86emu/prim_ops.c:1584:21: style: Condition 'cnt<16' is always true [knownConditionTrueFalse] libx86-1.1/x86emu/prim_ops.c:1582:13: note: Assignment 'cnt=s%16', assigned value is less than 16 libx86-1.1/x86emu/prim_ops.c:1584:21: note: Condition 'cnt<16' is always true libx86-1.1/x86emu/prim_ops.c:1595:20: style: Condition 'cnt>=16' is always false [knownConditionTrueFalse] libx86-1.1/x86emu/prim_ops.c:1582:13: note: Assignment 'cnt=s%16', assigned value is less than 16 libx86-1.1/x86emu/prim_ops.c:1595:20: note: Condition 'cnt>=16' is always false libx86-1.1/x86emu/prim_ops.c:1624:21: style: Condition 'cnt<32' is always true [knownConditionTrueFalse] libx86-1.1/x86emu/prim_ops.c:1622:13: note: Assignment 'cnt=s%32', assigned value is less than 32 libx86-1.1/x86emu/prim_ops.c:1624:21: note: Condition 'cnt<32' is always true libx86-1.1/x86emu/prim_ops.c:1635:20: style: Condition 'cnt>=32' is always false [knownConditionTrueFalse] libx86-1.1/x86emu/prim_ops.c:1622:13: note: Assignment 'cnt=s%32', assigned value is less than 32 libx86-1.1/x86emu/prim_ops.c:1635:20: note: Condition 'cnt>=32' is always false libx86-1.1/x86emu/prim_ops.c:2284:17: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] libx86-1.1/x86emu/prim_ops.c:2409:17: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] libx86-1.1/x86emu/prim_ops.c:1095:13: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1097. [shiftTooManyBitsSigned] libx86-1.1/x86emu/prim_ops.c:1097:11: note: Assuming that condition 'cnt!=1' is not redundant libx86-1.1/x86emu/prim_ops.c:1095:13: note: Shift libx86-1.1/x86emu/prim_ops.c:1398:16: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1396. [shiftTooManyBitsSigned] libx86-1.1/x86emu/prim_ops.c:1396:11: note: Assuming that condition 'cnt>0' is not redundant libx86-1.1/x86emu/prim_ops.c:1398:16: note: Shift libx86-1.1/x86emu/prim_ops.c:1625:19: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1624. [shiftTooManyBitsSigned] libx86-1.1/x86emu/prim_ops.c:1624:10: note: Assuming that condition 'cnt>0' is not redundant libx86-1.1/x86emu/prim_ops.c:1625:19: note: Shift libx86-1.1/x86emu/prim_ops.c:1702:16: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 1700. [shiftTooManyBitsSigned] libx86-1.1/x86emu/prim_ops.c:1700:11: note: Assuming that condition 'cnt>0' is not redundant libx86-1.1/x86emu/prim_ops.c:1702:16: note: Shift libx86-1.1/x86emu/prim_ops.c:1095:13: warning: Either the condition 'cnt!=1' is redundant or there is signed integer overflow for expression '1<<(32-cnt)'. [integerOverflowCond] libx86-1.1/x86emu/prim_ops.c:1097:11: note: Assuming that condition 'cnt!=1' is not redundant libx86-1.1/x86emu/prim_ops.c:1095:13: note: Integer overflow libx86-1.1/x86emu/prim_ops.c:1398:16: warning: Either the condition 'cnt>0' is redundant or there is signed integer overflow for expression '1<<(32-cnt)'. [integerOverflowCond] libx86-1.1/x86emu/prim_ops.c:1396:11: note: Assuming that condition 'cnt>0' is not redundant libx86-1.1/x86emu/prim_ops.c:1398:16: note: Integer overflow libx86-1.1/x86emu/prim_ops.c:1625:19: warning: Either the condition 'cnt>0' is redundant or there is signed integer overflow for expression '1<<(32-cnt)'. [integerOverflowCond] libx86-1.1/x86emu/prim_ops.c:1624:10: note: Assuming that condition 'cnt>0' is not redundant libx86-1.1/x86emu/prim_ops.c:1625:19: note: Integer overflow libx86-1.1/x86emu/prim_ops.c:1702:16: warning: Either the condition 'cnt>0' is redundant or there is signed integer overflow for expression '1<<(32-cnt)'. [integerOverflowCond] libx86-1.1/x86emu/prim_ops.c:1700:11: note: Assuming that condition 'cnt>0' is not redundant libx86-1.1/x86emu/prim_ops.c:1702:16: note: Integer overflow libx86-1.1/x86emu/sys.c:228:3: error: Resource leak: fd [resourceLeak] libx86-1.1/x86emu/sys.c:226:27: portability: 'identity' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] diff: head libx86-1.1/x86-common.c:151:22: style: Parameter 'm' can be declared as pointer to const [constParameter] 2.8 libx86-1.1/x86-common.c:151:22: style: Parameter 'm' can be declared with const [constParameter] 2.8 libx86-1.1/x86emu/sys.c:589:19: style: Parameter 'funcs' can be declared with const [constParameter] DONE