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
hooks: add LOGIC_HOOK
2010-05-25
Dan Carpent
e
r
hooks: add
L
OGIC_HOOK
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-25
Dan Carpen
t
er
ma
c
ro_table: take the file int
o
account
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
Dan C
a
r
p
enter
mac
r
o
_tab
l
e: do n
o
t include smatch
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carp
e
nter
flo
w
:
h
a
ndle lo
g
ic thin
g
s lik
e
:
f
o
o
(a && a
-
>bar);
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
D
a
n Carpenter
signed: comparing
t
o literals together
cre
a
tes a false
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
D
a
n Carpenter
der
e
f_
c
he
c
k: remov
e
the --
s
p
a
mmy
opti
o
n
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-22
D
a
n Carpenter
dele
t
e
c
heck_leaks
.
c:
T
his
c
heck was always
w
o
r
thless
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-20
D
a
n
Carpe
n
ter
wine: fixup the no return functions a bit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-20
Dan Carpenter
mac
r
o_table
.
c: replacem
e
nt
f
o
r in_macro()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-18
Dan Ca
r
penter
small c
l
eanu
p
an
d
a comm
e
nt
change
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-18
Dan Carpenter
*new*
c
h
eck_
s
nprintf: using
the
r
et
u
r
n value
o
f snprintf
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-15
Dan Carpent
e
r
unused_ret
u
r
n
: print function
nam
e
t
h
a
t was ignor
e
d
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-13
Da
n
Carpenter
ma
t
h: don't pass negativ
e
numbers as absolute max for
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-13
D
an Carpenter
imp
l
i
e
d
:
a
l
l
ow t
h
e k
n
o
wn part
t
o
be
a
range li
s
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpenter
math: fix get_abs
o
l
u
t
e_
m
in/max() for size
o
f()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-13
D
an
C
ar
p
enter
extra: ma
k
e d
o
_
c
o
m
par
i
son() handl
e
two variabl
e
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-13
Dan
Ca
r
p
enter
r
a
ng
e
s: intro
d
uce f
r
ee_rang
e
_
list()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carp
e
n
ter
ranges: introduce po
s
sibly_
t
rue/false_ran
g
e_
l
ist
s
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpen
t
er
precedence:
do
n
't
complain about if foo is 0-1
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpen
t
e
r
e
x
t
ra: clea
n
u
p
: rename do_comparison_range() => do_comparison()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-10
D
a
n Carpente
r
know
n
_
condit
i
o
n
_
true/false(): han
d
le ex
p
ression sta
t
ements
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-07
D
an Car
p
enter
*new* c
h
eck_kunma
p
(): confusion between kma
p
() a
n
d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-02
D
a
n Carpenter
*new* sm
a
tch_scripts/unlock
e
d_paths
.
pl
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-01
Dan Carpenter
flow
:
cleanup: m
a
ke split_function() it's own
f
un
c
tion
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-29
Dan Ca
r
pente
r
de
r
ef_check: use in_macro() to silence mos
t
of the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-29
Dan Carpenter
math: introduce g
e
t_
a
bso
l
u
t
e_min/
m
ax()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
math: cleanup: r
e
name get_i
m
plied_single_fuzzy
_
max()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Da
n
Carpenter
math: c
l
eanu
p
: s
h
uffle som
e
functi
o
ns arou
n
d
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Da
n
Carpenter
math: cleanup: g
e
t
rid of the
*di
s
c
a
r
d
thing
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpe
n
ter
math: c
l
eanup: g
e
t rid of IMPLI
E
D
_
SINGLE
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
dele
t
e che
c
k_null_
d
eref
.
c and c
l
ean up validat
i
on/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
f
low: t
h
e
next st
a
t
e
m
ent s
h
ould never be th
e
c
urrent
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpen
t
er
*new* chec
k
_ch
e
ck_deref
.
c: checking for null inc
o
n
s
is
t
entl
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpenter
*new* check_no_effect
:
prin
t
warnings
s
tatements that
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpenter
setup defa
u
lt modi
f
ication
hooks in set_tr
u
e
_
fals
e
_states
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-27
Dan
Carpenter
introduce i
n
_macro()
w
hich retur
n
s true if
w
e
're in
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-25
D
a
n Carpent
e
r
introduc
e
: in_ex
p
ression_s
t
atement(
)
and rename get_bloc
k
_th
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-24
Dan C
a
rpent
e
r
churn
:
rename _
_
split
_
statem
e
nts()
=
> __split_stmt()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
D
a
n Carpenter
extra: ha
n
dle
i++ an
d
i += 2 better outsid
e
loops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
Dan Car
p
e
n
ter
filter_kerne
l
_deref_check
.
sh:
p
rint the
function
names
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
D
an Ca
r
p
e
nter
Add
S
TRING_HOOK for ex
a
m
i
ning st
r
ings
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
Dan Car
p
e
n
t
er
*new*
c
hec
k
_
k
ernel
.
c: handle tomoyo_memory_ok() and
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
Dan C
a
r
p
enter
core: fix handling of switch statements with unreachable
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-07
Dan Carpe
n
ter
bail
o
u
t
ear
l
ie
r
if funct
i
o
n
s get
t
o
o difficu
l
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-07
Dan Carpenter
in
c
l
u
de st
a
tic function
s
in list of f
u
nction
s
which
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-07
Dan Carpenter
*
n
ew* freeing_
n
u
l
l
:
ca
l
lin
g
fre
e
for
a
v
a
riable
t
hat
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-05
Dan Carpent
e
r
e
quiv: cal
l
remove
_
from_equ
i
v(
)
on assign
m
ent
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-05
D
an Carpe
n
ter
m
ath: prevent divide
b
y
zero bugs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-05
Dan Ca
r
penter
c
heck_lock: a
d
d more locks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-02
Dan
Carpent
e
r
new: check_p
r
oc_create() check for world
w
ritab
l
e pro
c
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Car
p
enter
math: t
e
ach smatch to underst
a
nd cons
t
val
u
es
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpe
n
ter
chec
k
_overflo
w
: fix theoretical memory leak
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpenter
core: f
i
x problem in handling select s
t
atement / ORing
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpenter
cle
a
nup: rename sm_
s
t
ates
to "sm" instea
d
of "stat
e
"
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
D
a
n Carpent
e
r
get_variable_from
_
exp
r
()
:
if it involves a
n
u
m
ber it
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
D
an Ca
r
pen
t
er
debug: print mo
r
e useful i
n
formation
a
bout conditi
o
ns
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpente
r
l
ocking: h
a
ndle sp
i
n
_
t
r
y
l
ock
_
irq()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpenter
locking: handle spin
_
lock
_
irqsave_
n
e
sted()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan
Car
p
ent
e
r
l
o
c
king: han
d
le raw_spin_unloc
k
_irqrestore()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpenter
locking: make "some
t
imes locked" me
s
s
a
ges de
p
end on
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpenter
Merge br
a
nch 'd
e
vel' into devel_equiv
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpente
r
equiv: if a v
a
riable is only equivalent to it
s
elf set
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
D
a
n Car
p
enter
extra
:
use
the f
a
k
e a
s
s
ignments
i
nstead of the initia
l
izer
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
D
a
n Ca
r
pen
t
er
equiv: ne
v
e
r set SMAT
C
H_EXTRA value
s
dir
e
ctly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
Dan
Carpe
n
ter
equiv: eli
m
i
n
a
te bogus call to set_
s
ta
t
e(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
D
a
n
Carpenter
int
r
od
u
ce __smatch_
d
ebug_on() and __smatch_de
b
ug_
o
ff
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-29
Dan Car
p
enter
locking:
make spinlock_
i
rqsave(
)
work for my config
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-29
D
an Carpenter
locki
n
g:
w
hite spa
c
e
f
i
xes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-29
Dan Carpenter
l
o
ck
i
ng: add more standard
lo
c
ks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-28
Da
n
C
a
rpe
n
ter
chec
k
_
locking: clean up
l
i
st
o
f ker
n
el locks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-27
Dan Carpenter
handle select as
s
i
gns: foo
=
a ? b : c;
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-27
Dan C
a
rpenter
c
ore
:
fake cur_s
l
ist more co
m
plete
l
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-27
Dan Carpen
t
er
core: rewrite select statement handling
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpenter
states:
v
e
rify that the stac
k
s are emp
t
y at
t
h
e
end
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Ca
r
penter
Rename function
s
: __pop_foo() => _
_
dis
c
a
r
d_foo()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Ca
r
pe
n
t
er
s
match_s
t
ates:
r
ename some fu
n
ctio
n
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpente
r
release
_
res
o
urce:
Doh
.
I
t
's looking for
t
he wrong
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpenter
fi
x
sel
e
ct
s
ta
t
ement handling
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan C
a
rpenter
c
o
re: cleanup
.
delete fake cond
i
tion stack
c
ode
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan Ca
r
penter
core
:
make fake
cu
r
_slists st
a
ckable
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan
C
a
r
pen
t
er
sl
i
st: make set_
s
tate_stack()
return the new sm_state
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan Ca
r
pen
t
er
*new* chec
k
_release
_
resource
.
c: ch
e
ck that w
e
relea
s
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-24
D
a
n
C
arp
e
n
ter
fl
o
w: split asm clobbe
r
s, inputs and out
p
uts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-23
D
an Carpe
n
ter
white_spaceonly: a
l
low heade
r
file
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-22
Dan Carpe
n
ter
*new* strip
_
wh
i
tespace
.
pl: remo
v
es all the
whitespa
c
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-22
Dan Carpent
e
r
*new* che
c
k_resourc
e
_s
i
ze
(
): pro
d
p
eople to use
r
e
source_size()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-21
Dan Carpe
n
ter
extra: assume impo
s
sible
t
h
ings are impossib
l
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-20
Dan Carpen
t
er
er
r
_ptr: fix btrfs false positives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-20
D
an
Carp
e
nter
err_ptr: handle when an err_ptr is
r
eassigned
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan
C
arpent
e
r
*new
*
check_db_info
.
c pri
n
ts out stuff
that
w
i
ll be
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpen
t
e
r
cleanup:
move stu
f
f from
sma
t
ch_extr
a
.
c
t
o
s
match_math
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carp
e
nter
whitespace changes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
D
an Carpenter
e
q
uiv:
f
i
x c
r
ashing bu
g
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpenter
chec
k
_overfl
o
w: malloc() => __alloc_smatch_sta
t
e()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpenter
smatc
h
.
c: don
'
t leak those 10 byte
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
D
an
C
a
r
p
enter
as
s
igned_
e
xp
r
: f
i
x memory
leak
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-17
Dan C
a
rpenter
kernel: fr
e
e_area() does
n
't
call kfree()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-17
D
an Carpenter
*new* c
h
e
ck_return
.
c: c
o
mplain if you don'
t
ch
e
ck the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
D
a
n Carp
e
nter
math: m
a
k
e
get_implied_valu
e
() work for poi
n
ter
s
better
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carpen
t
e
r
m
ath: cleanup: create sep
a
rate _get_implie
d
_value(
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next