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
math: prevent divide by zero bugs
2010-04-05
Dan Carpenter
math: pre
v
e
nt
d
ivi
d
e by zero bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-05
Dan
Carpenter
chec
k
_lock: add more locks
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-02
Dan C
a
rp
e
nter
new: check_proc_
c
reate() check for world
w
rita
b
l
e proc
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-01
D
a
n Carpenter
m
ath: teach smatch to
understand const values
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpenter
che
c
k_over
f
lo
w
: fix theor
e
tic
a
l memo
r
y leak
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpenter
core
:
f
i
x prob
l
em in handling select statement / ORing
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpenter
clean
u
p: rename sm_states to "s
m
" ins
t
ead o
f
"state"
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carp
e
nter
get_variable_from_
e
xp
r
(): if
i
t involves a numb
e
r it
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-01
D
a
n
Carpenter
d
ebug: print
m
ore useful in
f
ormati
o
n
about co
n
dit
i
o
n
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpent
e
r
locki
n
g
:
h
a
ndle spin_trylock
_
irq()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-31
Dan
C
arpenter
locking
:
handle spin_lock_irqsav
e
_nested()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-31
Dan C
a
r
penter
l
o
cking: handle ra
w
_spin_unlock
_
i
rqr
e
store()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-31
Da
n
Carpenter
locking: make "som
e
t
i
mes loc
k
ed
"
messa
g
es depend on
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpen
t
er
M
erge branc
h
'
de
v
el'
into devel_equiv
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpenter
equ
i
v: if a va
r
iab
l
e
is only equi
v
alent to
itself set
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-30
Dan Carpe
n
t
er
ext
r
a: use the fake assignme
n
ts instead of th
e
ini
t
ializer
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-30
Dan Carp
e
nter
equiv: never set SMA
T
CH_EXTR
A
values directly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-30
Dan Carp
e
nter
e
quiv
:
elimin
a
te bogus
call to se
t
_sta
t
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-30
Dan C
a
rpe
n
t
e
r
intr
o
duce __s
m
atc
h
_de
b
ug_on() and __smatch_debug_o
f
f
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-29
Dan Carpenter
locking: make sp
i
nlo
c
k_irqsave()
w
ork
f
or my config
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-29
Dan Carpenter
l
o
cking: white space fixes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-29
D
an Carpenter
locking: a
d
d mor
e
standard locks
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-28
Dan Carpen
t
er
check_lo
c
king: clean up l
i
st of k
e
rn
e
l locks
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-27
Dan Carpent
e
r
handle
s
elect ass
i
gns: fo
o
= a ? b : c;
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-27
Dan C
a
rpenter
core:
fake cur_slis
t
more comp
l
etely
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-27
Dan Carpent
e
r
core: rewr
i
te select statement
handlin
g
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpe
n
ter
stat
e
s: verify that the stacks are empty at the end
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
Dan
C
arpenter
Rename functio
n
s:
__pop_f
o
o
(
)
=> __disc
a
r
d
_f
o
o()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
Dan
Carpente
r
sma
t
ch
_
s
tat
e
s
:
rename some
fun
c
tions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpent
e
r
r
elease_resource:
Doh
.
It's lookin
g
for the w
r
ong
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpenter
fi
x
se
l
ect statement handl
i
ng
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-25
D
a
n Carp
e
nter
core: cle
a
nup
.
delete fake
condition stack code
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-25
Dan Car
p
ente
r
core: make fake cur_slists stackab
l
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-25
D
a
n
Carpen
t
er
slis
t
: make set_state_stack()
r
et
u
rn the new sm_state
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-25
Dan
C
arpen
t
e
r
*new*
c
he
c
k
_release_re
s
ource
.
c: c
h
eck t
h
at we re
l
ease
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-24
Dan Ca
r
pente
r
flow:
split asm c
l
obbers, in
p
u
ts a
n
d
out
p
u
ts
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-23
D
an Carpe
n
te
r
white_spa
c
eonly: a
l
l
o
w header fi
l
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-22
D
a
n Carpenter
*new* strip_whitespace
.
pl: remov
e
s
al
l
the
wh
i
tespace
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-22
D
a
n Ca
r
pen
t
er
*
new* check
_
re
s
ource_si
z
e(): prod
people to use res
o
urce_size()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-21
D
a
n Carpenter
e
xtra: as
s
ume impo
s
s
i
b
l
e
t
hings a
r
e impossible
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-20
Da
n
Carpenter
err_ptr: fix btrfs false
po
s
itives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-20
Da
n
Carpenter
err
_
ptr:
han
d
le when a
n
err
_
ptr is reassigned
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpent
e
r
*new
*
check_
d
b_info
.
c
pri
n
ts ou
t
stuff that will be
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Dan Car
p
e
n
ter
clea
n
up: move
stuff from smat
c
h_e
x
tra
.
c to
s
mat
c
h_math
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
D
an Carpent
e
r
whitespace chan
g
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Dan Ca
r
penter
equiv: fix crashing bug
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carp
e
nter
check_overflow: malloc() => __alloc_sma
t
ch
_
state()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
D
a
n Carpenter
smatch
.
c: don't
l
eak tho
s
e
10 bytes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Dan C
a
r
pent
e
r
ass
i
g
n
ed_e
x
pr
:
fix
memory leak
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-17
Da
n
Carpenter
kernel: fr
e
e_area() do
e
sn't
c
a
ll kfre
e
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-17
D
a
n Carpen
t
er
*new
*
check_retur
n
.
c: com
p
lain if you don't check the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carpenter
math
:
mak
e
ge
t
_i
m
plied_v
a
lue() wo
r
k for po
i
nters bet
t
er
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carp
e
nter
math: c
l
eanup:
cre
a
te sep
a
rate _ge
t
_i
m
plied_value
(
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan Ca
r
penter
m
ath: handle modu
l
us '%
'
ope
r
a
tions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan
Carpenter
math: h
a
n
dl
e
EXPR_P
O
STOP
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carpenter
m
a
t
h: cleanup: m
a
ke handling
b
inops a switch() s
t
atement
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan
Carpenter
math: cle
a
nup
create
sepa
r
at
e
handle_binop()
f
uncti
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carpenter
math: cleanu
p
.
use cast_to_type() inst
e
ad of r
e
-impli
m
e
n
t
ing i
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Da
n
Carpenter
math
:
cleanu
p
.
separate ha
n
d
le_
p
reop()
i
nto
i
t's own
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
D
a
n C
a
r
pe
n
ter
equi
v
: fix
c
rashing bug introduced
in 8c
3
58883a
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan
Carpenter
C
reate
s
eparat
e
smatch_math
.
c
file
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpe
n
ter
updat
e
smatch_d
a
ta/ for 2
.
6
.
34-rc1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carp
e
nter
im
p
lied: clean up make a separate
h
a
ndle_zero_comparison
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
e
q
uiv:
h
andle compariso
n
s with z
e
ro
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
equiv: cleanup
s
eparate set_ex
t
ra_true_fals
e
() into
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan
Carpenter
equiv, impli
e
d:
fix h
a
n
dling borrowed
i
mplic
a
tions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-14
Dan
C
arpenter
implie
d
: don'
t
u
p
d
a
t
e
the equivelent sta
t
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-14
D
an Carpenter
rm v
a
lidation/smatch_cl
o
set/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-14
Dan Carpent
e
r
equiv: d
o
n't
o
verwrite the
implic
a
tion informat
i
on
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan C
a
rpent
e
r
re
n
ame __set_stat
e
() => __s
e
t_sm(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan Carpenter
rename clo
n
e_sta
t
e()
=
> clone_sm()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan
Carpenter
equiv: preserve ->e
q
uiv a
c
ross merges
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan C
a
rpente
r
Use the
e
quivalent varia
b
le
c
o
d
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
D
a
n Carpenter
remove trackers from ->equiv whe
n
the
y
a
r
e
no long
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan Carpenter
Fix cras
h
ing bu
g
cau
s
ed by la
s
t commit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
Dan Carpent
e
r
sto
r
e information in the new dinfo->equiv thing
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
Dan Carp
e
nte
r
intr
o
du
c
e
a
d
d_trac
k
er_e
x
pr()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
D
an Carpenter
make set_s
t
ate(
)
and friends return the
new sm_state
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
D
an Ca
r
penter
introduce clone_track
e
r_lis
t
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
D
a
n
C
a
r
penter
a
d
d "
e
quiv" f
i
eld to
s
t
ru
c
t
data_info
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
Dan Carpenter
mo
v
e
t
h
e
a
l
loc_dinfo() fu
n
ctions t
o
smatch_extra
.
c
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-11
D
an Carpent
e
r
c
h
eck_
s
i
g
n
ed: warn
a
bout compar
i
n
g (unsign
e
d
variable
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carp
e
nter
upd
a
te
va
l
i
dation/sm_cast
s
2
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
Dan Ca
r
penter
*n
e
w* sma
t
ch_sc
r
ipts/
s
how
_
errs
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
Dan
Carpenter
*new* s
m
atc
h
_
s
cripts
/
w
h
ites
p
ase_only
.
s
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
Dan
C
arpenter
add -no-linen
o
option to
sparse
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpenter
val
i
d
a
tion/sm_redundant_ch
e
ck
.
c
n
ow it's "info" not
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpenter
check_p
r
ece
d
e
n
ce: prin
t
o
n
e warni
n
g messag
e
instead
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpenter
check
_
signe
d
: han
d
le
uns
i
gned 64 bit variables
b
etter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-09
D
an Carp
e
nter
g
et
_
value() ha
n
dle some mor
e
m
a
th opera
t
ions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-08
Dan Carp
e
nter
make redund
a
nt null checks
b
e
f
ore
k
f
r
ee() an "info
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-08
Da
n
Carpente
r
chec
k
_signed: Eliminat
e
some fals
e
positives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-08
D
a
n C
a
rp
e
nter
precedence: check for
&
& vs &
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpen
t
e
r
implications: improve handli
n
g of comparisons w
i
th
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpente
r
u
s
e imp
l
i
catio
n
s from POSTOPs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpente
r
conditi
o
ns: parse EX
P
R_POST
O
Ps aft
e
r evaluat
i
ng the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Car
p
e
n
ter
check
_
overflow: re
m
ove false positives caused by prin
t
k
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
D
an Carpenter
flow:
i
mprove handli
n
g of whil
e
(
i--
)
{ loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
r
e
move s
t
range loop message
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpen
t
er
kpatc
h
.
sh:
a
sk abou
t
alloc() failures specifically
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next