summary refs log tree commit diff stats
path: root/results/classifier/user-mode-bugs/1550503
blob: a217bdfa8f7e90386c226731413366473efefdac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
target-arm/helper.c:5493: bad test ?

[qemu/target-arm/helper.c:5493]: (style) Expression '(X & 0x1f) != 0xf80f0000' is always true.

Source code is

        (env->uncached_cpsr & CPSR_M) != CPSR_USER &&

but

./qemu/target-arm/cpu.h:#define CPSR_M (0x1fU)

./qemu/target-arm/cpu.h:#define CPSR_USER (CPSR_NZCV | CPSR_Q | CPSR_GE)