diff options
Diffstat (limited to 'results/classifier/118/review/1402802')
| -rw-r--r-- | results/classifier/118/review/1402802 | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/results/classifier/118/review/1402802 b/results/classifier/118/review/1402802 new file mode 100644 index 00000000..7461bf04 --- /dev/null +++ b/results/classifier/118/review/1402802 @@ -0,0 +1,78 @@ +mistranslation: 0.886 +ppc: 0.741 +graphic: 0.652 +device: 0.520 +semantic: 0.472 +network: 0.446 +files: 0.421 +performance: 0.355 +register: 0.354 +socket: 0.344 +x86: 0.316 +architecture: 0.312 +vnc: 0.288 +TCG: 0.278 +i386: 0.266 +hypervisor: 0.226 +peripherals: 0.203 +debug: 0.180 +PID: 0.177 +virtual: 0.173 +arm: 0.170 +permissions: 0.155 +user-level: 0.144 +boot: 0.142 +VMM: 0.140 +risc-v: 0.107 +assembly: 0.091 +KVM: 0.080 +kernel: 0.066 +-------------------- +ppc: 0.458 +files: 0.109 +TCG: 0.103 +hypervisor: 0.059 +x86: 0.043 +register: 0.025 +debug: 0.025 +i386: 0.019 +architecture: 0.017 +arm: 0.015 +virtual: 0.011 +semantic: 0.009 +device: 0.007 +user-level: 0.007 +performance: 0.006 +kernel: 0.004 +VMM: 0.004 +PID: 0.004 +assembly: 0.003 +risc-v: 0.003 +boot: 0.002 +KVM: 0.002 +graphic: 0.002 +network: 0.002 +peripherals: 0.002 +socket: 0.001 +vnc: 0.001 +mistranslation: 0.001 +permissions: 0.001 + +target-tricore/translate.c:3812: possible bad expression ? + + +From a run of cppcheck, a static analysis checker, over the +source code of qemu trunk, dated 20141215, is the new error: + +[qemu/target-tricore/translate.c:3812]: (style) Expression '(X & 0x3f) == 0x6f' is always false. + +Source code is + + if (unlikely((op1 & 0x3f) == OPCM_32_BRN_JTT)) { + +Suggest code rework. + +Absolutly correct. The mask should be 0x7f. I will fix that asap. + +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7f13420ec000ad7644b65e + |