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: teach smatch to understand const values
2010-04-01
Dan Carpenter
math: teac
h
smatch to understa
n
d
cons
t
v
a
lues
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan C
a
rpent
e
r
c
h
eck_
o
verflow:
fix the
o
retical memory l
e
ak
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carp
e
nter
core: fix problem i
n
handling
s
ele
c
t statement / ORi
n
g
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpen
t
er
cle
a
nup: rename
s
m_states to "sm" instead of
"
s
tate
"
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
D
an Carpe
n
ter
g
et_
v
ariable_from_exp
r
(): if it i
n
volves a number it
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
D
an Carpenter
d
ebug: print mo
r
e useful information a
b
out cond
i
tion
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpenter
locking: h
a
n
d
le
spin
_
t
r
y
lock_ir
q
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Car
p
ente
r
l
ocking: handle s
p
i
n_lock_irqsave_nested()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpenter
l
o
cking: h
a
nd
l
e
r
a
w
_s
p
in_unlock_
i
rqre
s
tor
e
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpente
r
locking: mak
e
"sometimes locke
d
" m
e
ssages dep
e
n
d
on
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpenter
Merge br
a
n
c
h
'devel' into devel
_
equiv
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpenter
equi
v
: if a variable is only equi
v
alen
t
to it
s
el
f
set
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
Dan C
a
rpenter
extr
a
: us
e
the fak
e
assignm
e
nt
s
instead of
the
initialize
r
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
Dan Carpenter
equiv: never set SMATCH_EXTRA v
a
lues direct
l
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
Dan Carpenter
equiv: eliminate bogus call to set_state()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
D
a
n
Carpenter
i
n
t
r
oduce __
s
match_debug_on() and __smat
c
h_debu
g
_o
f
f
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-29
Dan Carpente
r
l
ocking: make spinlock_irqsav
e
() work for my co
n
fig
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-29
Dan Carpenter
lo
c
king: whi
t
e space fixes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-29
D
an Car
p
enter
locking: add more
standard locks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-28
Dan
C
arpenter
che
c
k_locking: clean up
list of ker
n
el lo
c
ks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-27
Da
n
Carpente
r
handle
sel
e
ct assi
g
ns:
foo = a ?
b
: c;
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-27
Dan
C
arpenter
core: fake cur_
s
l
is
t
m
ore
c
om
p
le
t
el
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-27
Dan C
a
rpenter
core:
rewrite sel
e
ct statem
e
nt handli
n
g
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpenter
states:
v
erify
t
hat the
st
a
cks
are empty at th
e
end
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpenter
Rename
functions: __pop_foo()
=
> __disc
a
rd_
f
oo()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Ca
r
p
enter
sm
a
tch_s
t
ates: rename s
o
m
e f
u
nc
t
ions
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan
Carpenter
release_resource: Doh
.
I
t's loo
k
i
n
g for the wrong
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpenter
f
i
x s
e
lect statement
h
and
l
i
n
g
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Da
n
Carp
e
nter
c
o
re:
cleanu
p
.
delete
fake con
d
ition
stack co
d
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan Carpen
t
e
r
core: make fake
cur_
s
l
i
sts stack
a
b
le
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan Carpente
r
slist: mak
e
set_state_stack() return the new sm_state
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan
C
arp
e
nter
*new* chec
k
_release_resour
c
e
.
c: check that we releas
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-24
Dan C
a
r
p
ent
e
r
flo
w
:
spli
t
asm clobbers, inputs and out
p
uts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-23
Da
n
C
a
rpenter
white_
s
pa
c
eonl
y
:
a
llo
w
header fi
l
es
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-22
Dan C
a
rp
e
n
t
er
*new* st
r
ip
_
w
hitespace
.
pl: removes all t
h
e
w
h
itespace
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-22
Dan Carpenter
*
n
ew* check_resou
r
ce_size(): prod p
e
op
l
e to use resource_size()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-21
D
an Carpenter
extra:
assume imposs
i
ble things are imposs
i
bl
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-20
Dan Carpen
t
er
err_ptr: fix btrfs false po
s
itiv
e
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-20
Dan Carpenter
err_ptr
:
handle when an e
r
r_ptr is
r
ea
s
si
g
ned
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpenter
*n
e
w* check_db_info
.
c p
r
ints
o
ut
s
t
uff that will be
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpe
n
ter
c
leanup: move stuff from smatch_extra
.
c to smatch_math
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpenter
whitespace c
h
a
nges
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
D
an
Carpe
n
ter
eq
u
iv: f
i
x crashing bug
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpenter
ch
e
ck
_
overflow: malloc() => __alloc_
s
match_state()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Ca
r
pen
t
er
smatch
.
c: don't leak thos
e
10 bytes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carp
e
nter
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
Dan Carpenter
kernel:
free_ar
e
a
(
) d
o
e
s
n'
t
call
k
f
re
e
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-17
Dan Car
p
e
n
ter
*
n
ew* check_r
e
turn
.
c: complai
n
if
y
ou don't
ch
e
ck the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carp
e
nter
m
a
th
:
make get_implied_
v
alue()
work for po
i
nters bet
t
er
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carpe
n
ter
math:
c
l
eanup: cre
a
te separate _get_implied_valu
e
(
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
D
an
C
a
r
p
enter
mat
h
:
handle modulus '%' ope
r
ations
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan
C
arpent
e
r
math: hand
l
e E
X
PR_POSTOP
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Da
n
Carpenter
math: cleanup: make ha
n
dling b
i
nops a swi
t
c
h() statement
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan Ca
r
penter
math: cleanu
p
c
r
eate sep
a
ra
t
e h
a
ndle_b
i
n
o
p()
f
unction
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
D
a
n Carp
e
n
ter
mat
h
: c
l
eanup
.
use cast_
t
o_type() instead of re-im
p
limenting it
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan
C
a
rpenter
math: c
l
eanup
.
sep
a
r
ate ha
n
dle_preop() into it's own
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpent
e
r
equi
v
: fi
x
crashing
bug introduc
e
d
in 8
c
358883a
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan
C
arpenter
Create separate smatc
h
_
m
a
th
.
c
f
ile
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan C
a
rp
e
nt
e
r
update
s
ma
t
ch_dat
a
/
for 2
.
6
.
34-rc
1
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
implied: clean up make
a
separa
t
e
h
a
ndle_zero_
c
omparison
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
equiv: hand
l
e
comparisons with zero
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
equi
v
: cleanup separate set_extra_t
r
ue_fal
s
e() into
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Da
n
Carpenter
equiv,
impl
i
e
d: fix handling borrow
e
d implications
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-14
Dan
Carpent
e
r
im
p
lied: don't upda
t
e
t
he equivelent s
t
ate
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-14
Dan Carpenter
rm validation/smatch_closet/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-14
Dan Carpenter
equiv:
don'
t
overwrite the impl
i
c
ation in
f
o
r
m
a
t
ion
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
D
an Carpenter
ren
a
me __
s
et_
s
t
a
te() => _
_
set_sm()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
Dan Car
p
ente
r
rename clo
n
e
_state() => clone_sm()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
D
an Carpenter
equiv: pres
e
rve ->equ
i
v across merges
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
Dan Carpenter
U
se the eq
u
ivalent variable cod
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
D
an
Car
p
enter
r
e
move tra
c
kers from ->equiv when they are no long
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
Dan Ca
r
p
enter
Fix cr
a
shing bug caused by last comm
i
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Dan Carpente
r
s
t
o
re inform
a
ti
o
n i
n
the new
d
info
-
>equiv thing
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Dan Carpenter
i
n
t
roduce add_
t
racke
r
_
e
x
p
r
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Dan
C
arpente
r
make set_sta
t
e()
and friends return the n
e
w sm
_
state
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Dan
Carpenter
introduce clon
e
_tr
a
cker_
l
i
s
t()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
D
a
n C
a
rpenter
ad
d
"equiv" field to s
t
ruct data_inf
o
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-12
Dan
C
a
rpe
n
t
e
r
mo
v
e the allo
c
_dinfo() functions t
o
smatch_
e
xt
r
a
.
c
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-11
Dan Carpenter
che
c
k_s
i
gned: warn about comparing
(unsigned variab
l
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan Car
p
enter
u
p
d
at
e
validati
o
n/
s
m
_casts2
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Da
n
Carpente
r
*
ne
w
*
smatch_s
c
ripts/show_err
s
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan
C
arpenter
*ne
w
* sm
a
tc
h
_scripts/whitespase_only
.
s
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpen
t
er
add
-
n
o-lineno o
p
tion to
s
parse
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Da
n
Carpent
e
r
valid
a
tion/sm_redundant_check
.
c no
w
i
t's "info" not
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan
C
arpen
t
er
check_p
r
ecedence: prin
t
one warni
n
g message instead
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpent
e
r
check_
s
igne
d
: handle
unsig
n
ed 64 bi
t
v
ari
a
ble
s
better
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-09
D
an Carp
e
nter
get_value
(
) han
d
le some m
o
re math oper
a
t
i
on
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-08
Dan Ca
r
p
enter
make re
d
u
ndant null
checks bef
o
re kfree() a
n
"info
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-08
D
a
n Ca
r
penter
check_s
i
gned:
E
limina
t
e
so
m
e f
a
l
se
positives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-08
Dan Carpenter
precedence: ch
e
c
k for && vs &
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
imp
l
i
c
a
tions: improve handling of comparisons with
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
use implications from POSTOPs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan Ca
r
p
e
n
t
er
conditio
n
s: parse EXPR_POSTOPs after
e
val
u
ating the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan
C
arpenter
check_over
f
l
ow: remove false pos
i
tives
caused
b
y p
r
intk
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Da
n
Carpenter
f
low: improve handlin
g
of w
h
ile(i
-
-
)
{
loops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
remove
str
a
nge loop message
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
D
a
n Carpenter
kpatch
.
s
h:
a
s
k
abo
u
t alloc() failures sp
e
cifical
l
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-07
Da
n
Car
p
enter
c
h
e
c
k
_der
e
f:
h
a
n
dle __GFP_NOFAIL
(remo
v
e false positive
s
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-06
D
an Carpenter
check_deref
:
handle pointers use
d
as arrays
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-04
Dan Carpenter
smatch_f
l
o
w
:
c
lean u
p
.
merge common code i
n
handle_p
r
e_loo
p
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next