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
*new* logical_instead_of_bitwise: places that use && instead of &
2010-03-27
Dan Carpenter
co
r
e:
r
ewri
t
e
select statement handling
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpenter
state
s
:
v
eri
f
y that the stacks are empty at the end
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carp
e
nter
Re
n
ame funct
i
ons
:
__pop_
f
oo() => __disc
a
rd_foo()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
D
an Carpenter
smatch_states: rename
s
o
me
functions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carp
e
n
ter
r
e
lease_resource: Do
h
.
It's look
i
ng for the wrong
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-26
Dan Ca
r
penter
fix
se
l
ect
stat
e
ment h
a
ndlin
g
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-25
Dan Carpent
e
r
co
r
e: cleanup
.
dele
t
e fake condition stack c
o
de
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-25
Dan Carpenter
core: mak
e
fake cur_s
l
ists stackab
l
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-25
Da
n
C
a
rpenter
slist:
make set_state_stack() r
e
turn
t
h
e n
e
w sm_state
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-25
Dan Carpenter
*new* che
c
k_re
l
ease_resou
r
c
e
.
c: check that we release
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-24
Dan Carpenter
flow
:
split asm
c
lo
b
b
e
rs, inputs and out
p
u
t
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-23
D
a
n
C
arpenter
white_spaceo
n
ly: allow
h
eade
r
f
iles
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-22
Dan Carpent
e
r
*new
*
strip_whitespac
e
.
pl
:
rem
o
ves al
l
the whi
t
espace
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-22
Da
n
Carp
e
nte
r
*
n
e
w
*
c
h
eck_r
e
s
o
urce_
s
ize():
prod pe
o
ple
to use reso
u
rce_siz
e
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-21
Dan C
a
rpenter
extra: assume impo
s
sib
l
e
things are
i
mpossible
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-20
Dan Carp
e
nter
er
r
_ptr: fix btrfs fal
s
e posi
t
ives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-20
D
an Carpente
r
err
_
ptr
:
ha
n
dle when
an e
r
r_ptr is reassigned
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpenter
*
n
ew* check_db_info
.
c pr
i
n
t
s
out stu
f
f that
w
ill be
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
D
a
n Ca
r
penter
cleanup: move
stuff from smatch_extra
.
c to
s
ma
t
ch_math
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
D
an
Carp
e
nter
whitespace changes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Da
n
C
arpe
n
ter
eq
u
i
v: fix crashi
n
g b
u
g
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpenter
check_overf
l
ow:
m
allo
c
() => _
_
al
l
oc_sma
t
ch_state()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpent
e
r
smatch
.
c:
d
on't leak
those 10 byt
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-19
Dan
Carpente
r
ass
i
gned
_
expr: fix m
e
mor
y
le
a
k
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-17
Dan Ca
r
pente
r
ker
n
el: free_are
a
() doesn't call kfree
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-17
Dan Carpen
t
er
*new* check_return
.
c: compla
i
n if y
o
u
don'
t
check the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan
C
arpenter
math:
make g
e
t_implied_value() work for
p
oin
t
ers be
t
ter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan Ca
r
p
enter
math: c
l
e
a
n
up: create separate _get_
i
mplied_value(
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan Ca
r
penter
math:
hand
l
e m
o
dulus
'
%' o
p
erations
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan
C
arp
e
nter
math
:
handl
e
EX
P
R
_POSTOP
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
D
an Car
p
enter
math: cl
e
anup: make hand
l
ing b
i
nops a swi
t
ch() s
t
atement
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan
C
arp
e
nte
r
math:
c
leanup
c
r
eate separate handle_
b
ino
p
() function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carp
e
n
ter
math: c
l
eanup
.
u
se cast_to_
t
ype(
)
instead of re
-
implimenting it
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-16
D
an Carpe
n
t
er
math
:
clean
u
p
.
s
e
pa
r
ate handle
_
preop() in
t
o it's
o
wn
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan Ca
r
penter
e
quiv: fix cr
a
shin
g
bug introduced in 8c358
8
83a
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan
C
arpenter
Create se
p
arate smatch_math
.
c file
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
u
p
date s
m
a
t
ch_d
a
ta/ for 2
.
6
.
3
4-rc1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
i
m
plied: clean up
ma
k
e a separate handle_zero_comparison
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
equiv: h
a
ndle com
p
a
r
i
s
ons with
z
ero
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
equiv: cl
e
an
u
p separate set_extra_true_false
(
) int
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-15
Dan
C
arpen
t
er
equiv, implied: fix handling borrowed i
m
plicat
i
ons
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-14
Dan Carpente
r
i
m
p
lied:
d
on'
t
update t
h
e equivele
n
t stat
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-14
Dan Carpen
t
er
r
m
v
alidat
i
on/s
m
atch_closet/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-14
Dan Carpenter
equiv: don't
overwrite the im
p
lication
info
r
mation
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan Ca
r
pen
t
er
rename __set_state(
)
=> __se
t
_s
m
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan Carpenter
r
e
nam
e
clone_state()
=> cl
o
ne_sm()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan Ca
r
p
enter
equiv: preserve ->equiv across merges
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan Carpenter
U
se the e
q
u
iv
a
lent
v
ariable code
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan
C
arpe
n
ter
remove trac
k
ers from ->equiv when th
e
y are no
long
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-13
Dan Carpenter
F
i
x
crashin
g
bu
g
caused by las
t
commit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
Dan C
a
r
pente
r
store
informatio
n
in the new dinfo->equiv thing
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
Dan Carpenter
introdu
c
e add_
t
racker_expr()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
D
a
n C
a
rpenter
m
a
ke
set_st
a
te() an
d
friends return
t
he ne
w
sm_state
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
Dan C
a
rp
e
nte
r
in
t
roduc
e
clone_tracker_
l
i
s
t()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
Dan Carpenter
a
dd "equiv"
f
ie
l
d to
s
t
ruct
d
ata_i
n
fo
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-12
D
a
n Carpenter
move the alloc_dinfo() functions to smatch_extra
.
c
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-11
Dan Ca
r
pent
e
r
ch
e
ck_
s
igned: warn about comparing (unsigned va
r
i
ab
l
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
D
an Car
p
en
t
er
update validation/sm_cas
t
s
2
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpenter
*
n
e
w
*
s
m
a
t
ch_scripts/s
h
ow_errs
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
D
an C
a
rpenter
*
new* s
m
atch_scripts/whitespase_on
l
y
.
s
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
D
a
n
C
arpenter
add
-n
o
-lin
e
no
o
ption to sparse
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
D
a
n Carpenter
v
a
l
i
datio
n
/sm_redun
d
ant_check
.
c n
o
w it's
"i
n
fo" not
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
D
a
n
C
ar
p
enter
ch
e
c
k
_p
r
ecedence: print one
w
arni
n
g message i
n
stead
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-10
Dan Carpenter
c
heck
_
signed: handle unsig
n
e
d
6
4
bit variabl
e
s bette
r
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-09
Dan
C
arpenter
ge
t
_
value() handle some
more ma
t
h
op
e
rations
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-08
Dan
C
arpenter
m
ake redundant null c
h
ecks befo
r
e kfree() an
"
i
n
fo
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-08
Da
n
Ca
r
p
e
n
t
er
check
_
sig
n
e
d
:
El
i
mina
t
e s
o
me fal
s
e posit
i
ves
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-08
Dan Carpenter
p
recedence: chec
k
f
or && vs &
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
imp
l
icati
o
ns: im
p
rove handling of comp
a
risons with
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Car
p
enter
u
se i
m
plications fro
m
POST
O
Ps
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Da
n
Carpent
e
r
c
o
nditi
o
ns: parse EXPR_POSTOPs after eva
l
uating t
h
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
check
_
overflow:
r
emove false
positives
c
aused
b
y pri
n
tk
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
D
an
C
arpenter
flow: improve ha
n
dling of while(i--) {
l
oops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan Carpenter
rem
o
ve strange loop m
e
ssage
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Da
n
Carpenter
kpatch
.
sh: ask about al
l
o
c
() failures spec
i
fically
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-07
Dan C
a
rpe
n
t
e
r
check_deref: handl
e
__G
F
P_NOFAIL (remove
fa
l
s
e
p
o
sitives
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-06
Dan Carpenter
check_d
e
ref: handl
e
po
i
n
ter
s
used as arrays
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-04
Dan Carpente
r
smatch_flow: c
l
ean up
.
merge common cod
e
in handle_pre
_
loop()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-04
Dan
Carpenter
imp
r
o
v
e implied_c
o
ndit
i
o
n
_true() for pre and post ops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-04
Dan Carpente
r
wh
i
le c
o
untdo
w
n loops:
handle loops
w
here the start
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-04
Dan
C
arpenter
han
d
le for loops
w
here w
e
don't kn
o
w th
e
upper lim
i
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-04
D
an Carpenter
smatch
_
flow
:
handling pre loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-02
D
a
n Car
p
enter
extra: co
m
parin
g
so
m
ething t
o
zero
does
n
't
mean it
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-02
D
an Carpe
n
ter
c
h
eck_
o
verflow: relax rules on if (ptr < &array[max
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-03-02
Dan Carpenter
extra: han
d
le l
o
ops like wh
i
le(i-
-
) {
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-27
Dan Carpenter
clean u
p
:
m
er
g
e a cou
p
l
e
function for handli
n
g
for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-27
Dan Carpent
e
r
f
i
x handling of (2 <= x) comparisons whe
r
e the var
i
able
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-25
Dan
Ca
r
penter
che
c
k_
s
igned: disable m
o
st of the new
warni
n
g
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-25
Dan Carpenter
ge
t
_
t
ype
(
) fi
x
crash
o
n getting p
o
inter types
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-24
D
an Car
p
ent
e
r
get_
v
alue() more int to long long mop up
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-24
D
an Ca
r
penter
get_type
(
)
fix pointe
r
ha
n
dling
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-24
Dan
Carpenter
Fix g
e
t_value() for ((
u
nsigned int) -1)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carpenter
t
y
pe_max()
:
handle unsigned long long
.
(sort o
f
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-24
Dan
C
arp
e
nter
get rid of --ra
r
e option
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-24
D
a
n
Car
p
ente
r
rename get_single_val
u
e_from_range()
=> get_singl
e
_val
u
e_fro
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-24
D
an Car
p
enter
for loop
s
:
add a s
p
ecial case for "for(i = 0;
i <
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carp
e
nter
c
h
eck_signed: ch
e
ck int types
a
s well
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpenter
s
m
atc
h
.
c: use s
t
r
ncp
y
() instead
of str
c
py()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-23
Dan Ca
r
pente
r
debug: rename __sma
t
ch_print_v
a
lue()
=> __smatch_value()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carp
e
nter
chec
k
_
signed:
expr->op is ty
p
e int no
t
cha
r
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next