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
precedence: don't complain about if foo is 0-1
2010-05-10
Dan Carpenter
precedenc
e
: don't
complain about
i
f foo is 0-1
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpenter
extra: cl
e
anup: rena
m
e d
o
_
c
o
m
parison_range(
)
=> do_compa
r
ison()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-10
Dan C
a
r
pent
e
r
known_co
n
di
t
i
o
n_true/false(): ha
n
dle ex
p
ression statements
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-07
D
a
n C
a
rpenter
*new*
chec
k
_kun
m
ap():
c
onfusion
between kmap() a
n
d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-02
Da
n
C
arpenter
*
new* smatch
_
s
cri
p
t
s
/
u
nlocked_paths
.
pl
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-05-01
Dan Carpenter
flow: clean
u
p:
ma
k
e split_function
(
)
it's own fu
n
c
tion
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-29
Dan C
a
rpenter
de
r
e
f_che
c
k: use i
n
_macro()
t
o
silence
m
ost o
f
t
he
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-29
Dan Carp
e
nter
math: introduce
g
et_absolute_min/max(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
math: clea
n
up: rena
m
e get_implied_sing
l
e_fuzzy_max()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
D
a
n Carpenter
math: clean
u
p: shuf
f
le some functions aro
u
nd
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
D
a
n
Carpent
e
r
m
a
th:
cleanup: get rid of the *dis
c
ard
th
i
ng
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
math: cleanup: get rid o
f
IMPLIED_SINGL
E
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Dan Ca
r
penter
delete chec
k
_null_deref
.
c and
c
lean u
p
validation
/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-28
Dan C
a
rpenter
f
l
ow: the nex
t
stateme
n
t should ne
v
er
b
e
the
c
urrent
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-27
D
a
n
C
arpen
t
er
*new*
check_chec
k
_deref
.
c: checking for null
i
nconsis
t
en
t
ly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-27
Dan
C
arpenter
*n
e
w* check_no_effe
c
t: print
wa
r
nings statements that
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-27
D
an Carpenter
se
t
u
p default modificatio
n
h
ooks in s
e
t_t
r
ue_f
a
l
s
e_stat
e
s()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carp
e
nter
introduce in_macro() which returns
true if we're in
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-25
Dan
C
arp
e
n
t
e
r
i
nt
r
oduce: in_
e
xpression_statement() and ren
a
me g
e
t
_block_th
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-24
Dan Carpenter
chu
r
n: rename __split_statem
e
nts(
)
=>
_
_
s
p
l
it_stmt()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
D
a
n C
a
rpenter
ext
r
a: handle i++ and i +
=
2
b
etter outside loops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
D
a
n
C
a
r
pente
r
filter_kernel_der
e
f
_
check
.
s
h: p
r
int the f
u
nc
t
ion nam
e
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
Dan Carpenter
A
d
d
S
TRING_HOOK for examin
i
n
g
s
t
rings
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
Dan C
a
rpe
n
t
er
*ne
w
* check_
k
er
n
e
l
.
c: h
a
ndle tomoyo_memory_ok() and
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-23
Dan C
a
rpenter
cor
e
:
f
ix h
a
ndling of swit
c
h stateme
n
ts with unreachable
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-07
Dan C
a
rpen
t
er
bail
out earli
e
r
if
functio
n
s get too difficult
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-07
Dan Carpenter
include static func
t
ions in list of
f
unctions which
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-07
Dan Carpenter
*new* freein
g
_null: ca
l
ling f
r
ee for a
v
a
riable that
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-05
Dan Carpe
n
ter
e
q
uiv:
c
a
ll remov
e
_from_equi
v
() on
a
ssignment
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-05
Dan
Carpe
n
t
e
r
math
:
prevent divi
d
e
by z
e
r
o
bu
g
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-05
Dan
C
arpen
t
e
r
check_lock:
add more locks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-02
Dan C
a
rpent
e
r
new: ch
e
ck_proc_create()
check for world
w
r
itable proc
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpente
r
math: teach smatch to
u
nd
e
rstand c
o
nst
valu
e
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpe
n
ter
c
heck_overflow: fix
theoretical memory leak
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
D
a
n Carpenter
c
o
r
e
: fix problem in handling selec
t
st
a
tement
/
ORing
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan
Carpenter
cleanup: r
e
name sm
_
states to "sm" instead of
"stat
e
"
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpenter
ge
t
_variable_fro
m
_expr(): if it i
n
v
o
lves a number
it
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carp
e
nter
debug: print
more usefu
l
information about conditions
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Carpenter
lo
c
ki
n
g: han
d
le s
p
in_
t
r
ylock_irq()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan
C
a
rpenter
locking: handle spin_
l
ock
_
irqsav
e
_nes
t
ed()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
D
a
n
Carpente
r
lock
i
ng: handle ra
w
_spin_unlock_ir
q
r
e
store()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
D
an
C
arpe
n
te
r
l
o
cking: make "sometimes locked" m
e
ssage
s
depend on
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-31
Dan Ca
r
penter
Merge branch 'devel
'
into devel_
e
q
uiv
commit
|
commitdiff
|
tree
2010-03-31
D
a
n
Carpenter
equiv: if a
variable is only e
q
u
iva
l
ent
t
o
itse
l
f
set
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
Dan Carpenter
extra: use the fake a
s
signments in
s
tead of the
i
nit
i
a
l
izer
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
Dan Carpen
t
er
equiv: never set
S
MAT
C
H_
E
XTRA values directly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
Dan
C
arpe
n
t
er
equiv: eliminate bogus c
a
ll t
o
set_
s
tat
e
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-30
D
an Carpenter
introduce __
s
match_debug_on
(
) and __s
m
atch_debug_off()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-29
Dan
Ca
r
penter
l
o
c
k
i
ng: m
a
ke sp
i
nloc
k
_irqsave() work for
my
con
f
ig
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-29
Dan Carpenter
lockin
g
: white sp
a
ce fixes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-29
Da
n
C
a
rpenter
locki
n
g: add
more standard locks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-28
D
a
n Carp
e
nt
e
r
chec
k
_
locking
:
clean up
l
ist
of ker
n
el locks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-27
Dan Carpe
n
t
er
handle select assi
g
ns: foo
=
a ? b : c;
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-27
D
an C
a
rp
e
nter
c
o
re: fake cur
_
slist more co
m
pletel
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-27
Dan
Carp
e
nter
core: rewr
i
te select state
m
ent handling
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan
Carpenter
st
a
tes:
v
e
ri
f
y that the stacks
are empt
y
at t
h
e end
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpen
t
er
Rename functions: __pop
_
f
oo()
=> __discard
_
foo()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan Carpe
n
t
er
smatch_stat
e
s
: rename some functions
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Da
n
Carp
e
nter
releas
e
_resourc
e
:
Do
h
.
It's l
o
oking for the wrong
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-26
Dan
Carpenter
fi
x
selec
t
statemen
t
handling
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan Car
p
enter
core
:
cleanup
.
delete
f
ak
e
conditi
o
n
s
t
a
c
k
cod
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan Carpe
n
t
er
core: make
fake c
u
r_slists stackable
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan Carpenter
slist:
ma
k
e set_
s
tate_stac
k
() ret
u
rn the new
sm
_
stat
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-25
Dan Carp
e
n
t
e
r
*new*
ch
e
ck_r
e
le
a
se_
r
esource
.
c: check tha
t
we release
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-24
Dan Carpent
e
r
flow: split a
s
m clob
b
ers, inputs and outpu
t
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-23
Dan
C
arpe
n
ter
white_
s
paceon
l
y: a
l
l
o
w header files
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-22
Dan Carpenter
*new* str
i
p
_white
s
pace
.
pl: removes
all the whitespace
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-22
Dan Carpen
t
e
r
*
new* check_resource_siz
e
(): pr
o
d people to use resource_size()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-21
D
an C
a
rpenter
e
xtra: ass
u
me
imp
o
ssible
t
hings are im
p
os
s
ible
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-20
Dan
Carpenter
err_p
t
r: fix btrfs false
p
osi
t
i
v
es
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-20
Dan Carpenter
e
rr_ptr: h
a
n
d
l
e
when
an err
_
ptr is reass
i
gned
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
D
a
n Car
p
enter
*ne
w
* ch
e
c
k
_db_info
.
c prints out stuff that will be
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
D
a
n Carp
e
n
t
er
cleanup:
move stuff from s
m
atch
_
extra
.
c to smatch_ma
t
h
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan
C
arpenter
whitespa
c
e changes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Da
n
Ca
r
penter
equiv:
fix c
r
ashing bug
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Carpenter
check
_
overflo
w
: malloc() => __allo
c
_
smatch_state()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
Dan Ca
r
penter
smatch
.
c
:
don't leak tho
s
e 10 bytes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-19
D
a
n Carpenter
a
ssig
n
ed_
e
xpr: fi
x
m
e
m
ory
l
eak
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-17
Dan Carpenter
ker
n
el:
f
ree
_
area() doesn't call kfree()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-17
D
an Carp
e
nter
*
new* check_ret
u
rn
.
c: co
m
plain if you don't check
t
he
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carpen
t
er
math: make get_imp
l
ie
d
_value() w
o
rk for pointers better
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carpen
t
er
m
at
h
: clea
n
up:
create separate _get_implied_
v
alue(
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
D
a
n Carpenter
ma
t
h: h
a
ndle modulus '%
'
operati
o
ns
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Da
n
C
ar
p
enter
math
:
handle EXPR_POSTOP
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
D
a
n
Carpenter
math: cleanup:
m
ake
hand
l
ing binops a sw
i
tch() st
a
tem
e
nt
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan Carpenter
math:
cle
a
n
up crea
t
e separate handle_bin
o
p() f
u
nctio
n
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Dan
C
arpenter
math: cleanup
.
use cast_to_type() instead of
re-impl
i
m
e
n
t
i
n
g
it
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-16
Da
n
C
a
rpenter
m
a
th
:
c
leanup
.
s
eparate handle_pre
o
p() into it's o
w
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan
Car
p
ent
e
r
equiv
:
fix crashing bug
i
n
t
r
o
d
u
ced in 8c35888
3
a
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpen
t
e
r
C
r
ea
t
e
s
e
parate
smatch_
m
ath
.
c file
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
update
s
m
atch_data/
f
o
r 2
.
6
.
34-rc1
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carp
e
nter
i
mplied: clean
up ma
k
e a sep
a
rate handle_zero_comp
a
rison
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Dan Carpenter
equiv: h
a
ndle comparisons with zero
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Da
n
Carpen
t
er
equiv
:
cleanup separate s
e
t
_
ext
r
a_true_
f
alse() into
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-15
Da
n
Carpenter
equiv,
i
mplied: fix
h
a
n
dli
n
g borro
w
ed
implica
t
ions
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-14
Dan Carpent
e
r
implie
d
:
d
on't up
d
ate th
e
equivelent s
t
ates
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-14
Dan Ca
r
p
e
nter
rm valida
t
io
n
/
s
m
at
c
h_close
t
/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-14
Dan
Carpenter
equi
v
:
d
on
'
t overwr
i
te t
h
e
i
m
plication
i
nforma
t
i
o
n
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
D
a
n Ca
r
penter
rename __set_state() => __set_sm()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-13
Dan Carpente
r
r
e
n
a
me
c
lone_sta
t
e()
=
>
clone_sm()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next