repo.or.cz
/
smatch.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
user_data2: always set *foo to user data
2016-01-13
Dan Car
p
enter
user_data2: alwa
y
s set *foo to use
r
d
a
t
a
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-13
Dan
C
arp
e
nter
us
e
r_data2: use fa
k
e as
s
ignment
s
instead of duplicating
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-13
Da
n
Carpenter
u
s
er_data
2
: han
d
le arrays
bette
r
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-06
Dan Carpenter
*n
e
w* vim_smdb:
a script for looking up cal
l
er information
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-04
D
a
n
Carpenter
buf_size:
f
ix compile on o
l
de
r
G
C
C
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-22
Dan Carp
e
n
ter
math: use real_
a
bsolute for custo
m
m
ath
h
a
ndling (us
e
r_data)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-22
D
a
n
Carpenter
d
ebu
g
:
add
_
_smatc
h
_rea
l
_abs
o
lute()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-21
Dan Carpenter
smd
b
.
py: add trace_pa
r
am feature
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-21
Dan
C
arpenter
smdb
.
py: a
d
d CUL
L
_PAT
H
type
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-21
Dan Carpent
e
r
smdb
.
py: add cal
l
_tre
e
to h
e
lp outpu
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-21
D
an Ca
r
pente
r
data_sour
c
e: do
n
't prin
t
wrong s
o
urces
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-17
D
an Carpenter
data_source: foll
o
w parameter
s
better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-17
Dan Carpenter
estate: clear
u
n
s
e
t
stru
c
t
membe
r
s in
c
lone_dinfo_perm()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-17
Dan C
a
rpenter
flow:
f
ix som
e
is
s
ues with too hairy
fu
n
ct
i
ons
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-17
Da
n
Carp
e
nte
r
struct_assign
m
ent: handle sscanf
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus
Villemoes
check_k
e
rne
l
_printf
.
c: su
p
port futur
e
%pgX
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
Rasm
u
s Vill
e
m
o
es
check_kernel
_
pr
i
nt
f
.
c: check for redundant or confusing
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus Villemoes
che
c
k
_
kernel_prin
t
f
.
c: actually allow printk lev
e
l
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
Rasmu
s
Villem
o
es
check_kernel_pr
i
ntf
.
c: sup
p
ort %pC
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus
V
il
l
e
moes
c
heck_kernel_prin
t
f
.
c: remove some %
p
IS f
a
ls
e
posi
t
ives
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
R
asmus Villemoes
check_kernel_pr
i
n
tf
.
c: update struct pr
i
ntf_spe
c
to
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
Rasm
u
s Vi
l
lemoe
s
check
_
ker
n
el_
p
ri
n
tf
.
c: ch
e
c
k for signed
char versus
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus
Vill
e
moes
che
c
k_kernel_printf
.
c: reor
d
er flag defin
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus Vi
l
lemoes
sparse: don't warn about
u
nknown attr
i
but
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-09
Or Gerlitz
err_ptr
_
deref: Fix
build on
RHEL6
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-04
Dan C
a
rpent
e
r
ra
n
ges: export sval_
f
ls_mask(
)
and fls_mask()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-04
Dan Carpenter
impl
i
ed: remove left_right variable
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-03
Da
n
Carpe
n
ter
impli
e
d
:
do type
p
romotion earlier
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-02
Dan Carpente
r
implied: r
e
name "ranges" to "rl"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-02
Dan Carp
e
n
ter
implied: rename "vals" to
"
r
l
"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-02
Dan Carpe
n
t
er
implie
d
:
r
e
name lr to le
f
t
_
r
i
gh
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-02
Dan
C
arpenter
impl
i
ed: use "sm"
a
s
t
he default name
for sm_states
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
Da
n
C
a
r
penter
implied: remove the -
-
no
-
implied option
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
D
an Carpent
e
r
flow:
c
ommit the rest of the ranged ca
s
e patch
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
D
a
n
C
arpe
n
ter
smatch: remove
-
-kn
o
wn_condit
i
ons optio
n
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
Dan Carpent
e
r
msg: print sm_msg(
)
i
f
local_debu
g
is on
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
D
a
n Carpenter
c
o
mparison
:
fix a
n
implication
b
u
g
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-30
Dan Carpenter
flow: h
a
nd
l
e
r
anged case
s
tat
e
ments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-30
D
an
C
ar
p
enter
function_hooks: impossible: don't set both sid
e
s
to
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-27
Dan Car
p
enter
unr
e
a
chable: ign
o
re a couple new macros
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-24
Dan Carpen
t
er
str
i
ng_list: accept const
s
trings and NU
L
L p
o
i
nters
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-19
Dan Carpenter
v
al
i
dation: update some t
e
st
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-19
Dan Car
p
enter
c
o
mparison:
rem
o
ve
b
ogus NULL check
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-19
Dan Car
p
enter
smatch_estate: fix cl
o
ne_es
t
ate_
c
ast()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-19
Dan C
a
rpenter
*ne
w
* i
m
p
o
ssible_mask: complain if people
d
o "if (
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-17
Dan Car
p
en
t
er
e
x
t
r
a: fi
x
get_user
(
)
handling
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-17
Dan Car
p
e
nter
e
quiv:
mark variables
as equiv even when their types
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-17
Dan Carpen
t
er
*new* real_absolute:
give
a mo
r
e accura
t
e absolute
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-12
Dan Carpenter
ranges: doing
di
v
isio
n
w
a
s sometimes corrupting memor
y
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-11
Dan Carpenter
helpe
r
:
clear *sym i
n
expr_t
o
_chunk_helper()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-11
Dan
C
ar
p
e
n
ter
i
mpli
e
d: small
s
p
e
e
d up
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-11
Dan Carpente
r
imp
l
ied
:
ma
r
k
s
ome
f
u
nction p
a
ramete
r
s as const
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-11
D
a
n Ca
r
pe
n
te
r
local_v
a
lues: s
p
ee
d
up, by ignoring array values
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-11
Dan Carpenter
math: handle strlen() of kno
w
n strings
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-11
D
a
n Carpenter
user_data
2
: fix crash
i
ng bug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-10
Dan Carp
e
nter
mat
h
: move to using
r
l_b
i
nop for XOR
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-05
Dan Carpen
t
er
extra
:
modifications inside WA
R
N
_ON(
)
m
acros should
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-05
Dan Carpenter
b
u
f
s
ize,strlen:
m
ove
s
trcpy(),s
t
rlcpy() a
n
d
strlcat
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-05
D
a
n
C
arp
e
nter
doubl
e
_
chec
k
ing: disable
s
ome false posi
t
i
v
es
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-05
Dan Carpenter
d
o
uble_checking
:
remove deb
u
g output
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-05
Dan
Carpenter
r
anges: make rl_binop() handle X
O
R opera
t
ions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-05
Dan Carpente
r
c
h
e
ck_deref: ignore stati
c
vari
a
bles
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-05
D
an Carp
e
nter
db/r
e
load_par
t
i
a
l
:
delete o
l
d data correc
t
l
y
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-05
Da
n
Carpenter
d
b
/
f
ixup_kernel
.
sh: annotate sysfs functions a
b
i
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-05
Dan Carpenter
db/f
i
xup
_
ke
r
nel
.
sh: ignore
m
ost
_
_
v
f
s_read() callers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-10-30
Dan Carpenter
ranges:
be m
o
re flexible
a
bout
d
iv
i
des
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-10-30
Dan Carpenter
user_data2: tighten user data
r
ang
e
lis
t
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-10-23
D
an
C
arpenter
extra: fix a ty
p
e issue ha
n
dling comparisons
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-10-23
D
an Carpen
t
e
r
extra:
fix a memory l
e
ak
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-10-09
Dan Car
p
enter
math: handle bin
o
p int
e
ger overflows more
s
trictly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-10-09
Dan Car
p
enter
err_ptr_de
r
ef: complain abou
t
E
R
R
_P
T
R(ENOME
M
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-10-02
Dan Car
p
enter
b
u
f_siz
e
:
b
u
g
c
a
lcu
l
ating pointer math with &foo[4]
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-09-30
D
an Carpenter
h
e
lper: remo
v
e
du
p
lica
t
e implementatio
n
s of
expr_
e
q
uiv()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-22
Dan
C
arpenter
buf_size: don't store b
o
gus
info
r
mation in th
e
d
ata
b
ase
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-22
Dan Carpenter
strlen: snpri
n
tf() can de
t
ermine the strlen
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-22
Dan
Carpenter
buf_size: arrays canno
t
b
e
r
e
-ass
i
g
ned
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-21
Dan Carp
e
nter
u
ser_data: update kstrotoXX() fun
c
tions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-20
Dan
C
arpent
e
r
st
a
tes
:
re
m
ove
a
n u
n
used
f
uncti
o
n
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-20
Dan Carpenter
d
ouble
_
chec
k
i
n
g
:
a
v
oi
d
more false positives
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-20
Dan Carp
e
nte
r
double_c
h
ecking: silence fals
e
positives caused b
y
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-20
Da
n
Carpenter
double_checking: allow if
(
foo)
{
.
.
.
}
e
lse if (!foo
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-20
Dan Carpenter
zero_
t
o_err_
p
tr: calling PTR_ERR(NULL)
is a
pro
b
a
b
l
y
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-20
Dan
Carpenter
s
mdb
.
py: update lis
t
of types
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-19
Dan Carpent
e
r
check
_
kernel
:
register this later
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-19
Dan Carpenter
check_
d
ma_
m
appi
n
g_error: The
dma
_
mappi
n
g
_error
(
) function
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-19
Dan Carpenter
buf_comparison:
split th
e
code up and move it around
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-18
Dan
Carpenter
extra, db: don't us
e
P
A
RAM_VAL
U
E
for return s
t
ates
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-17
D
an Carp
e
n
ter
b
u
f_si
z
e: add
k
map() an
d
get_zeroed_page()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-17
Dan Carpenter
b
uf_size, strlen:
don't use strl
e
n() to determine the
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-17
Dan Carpen
t
er
s
trlen: cleanup in ge
t
_implied_strlen(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-17
Dan
Ca
r
p
en
t
er
b
u
f_si
z
e, strlen:
m
ove strlen
(
) h
a
ndlin
g
to smatc
h
_strlen
.
c
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-15
Dan Carpen
t
e
r
ex
t
r
a
: track arra
y
values
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-15
Dan Carpenter
stored_co
n
ditons: store
the chunk as well
a
s th
e
var
_
s
ym_list
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-15
Dan Carpe
n
t
er
ranges: add a missi
n
g cast in add_r
a
nge_t()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-14
D
a
n Ca
r
penter
validation: don't use uninitialized data
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-14
Da
n
C
a
rpen
t
er
mo
d
if
i
cation
_
hook: record the m
o
dification e
x
pressi
o
n
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-12
Sudi
p
Mukher
j
ee
kchecker:
build
alread
y
built di
r
ectory
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-11
D
an
Carpent
e
r
smatch
:
remove the "loop could be
replaced with if
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-11
D
a
n Carpenter
buf_si
z
e
: un
b
reak this feature
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-08-11
Dan Carpenter
te
s
t_kern
e
l
.
sh: pr
i
n
t
where t
h
e
w
arnings are saved
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
next