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
update smatch_data for 3.2-rc
2011-11-16
Dan Carpe
n
ter
upda
t
e sma
t
ch_data for 3
.
2-rc
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-11-01
Dan
C
arpenter
Allo
w
check_debug
.
h to be included
more than
o
nce
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-30
D
an Carpent
e
r
c
ore:
add --fil
e
-ou
t
put
v
aria
b
l
e
for make -j8
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-30
Dan
C
arpenter
smatch_extra: clear out str
u
c
t members
i
f a the pointer
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-28
Dan Carpenter
ex
t
ra: f
i
x
cras
h
ing
b
ug from last commi
t
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-22
Dan Carpente
r
extra: expre
s
sions
a
r
e
e
quivale
n
t even i
f
they
a
re
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-22
Dan Ca
r
pen
t
e
r
user_data: use is_ca
p
ped() fu
n
ction
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-22
Dan Carpent
e
r
user_data
:
han
d
le bin
o
p
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-22
Dan
C
ar
p
ent
e
r
*
n
ew
*
smatch_c
a
pped:
introduce is_ca
p
ped() functio
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-18
Dan Carpenter
*new*
c
heck_us
e
r_d
a
ta: record all t
h
e us
e
r data (and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
D
an
Carpenter
buf_size: th
e
r
e w
a
s a
mista
k
e
i
n
ha
n
dling calls to
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpenter
buf_s
i
z
e:
r
ecord the size of stru
c
t
mem
b
ers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
D
a
n
Carpenter
e
x
tra: clea
n
up: use my_id in
s
tead of
S
M
ATC
H
_EXTRA
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
Da
n
C
a
r
penter
db: wrong p
a
ramet
e
r number in
str
u
ct m
e
m
b
e
r
c
a
l
l
back
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
Dan Car
p
ent
e
r
extra:
don't print an e
x
tra $$
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
Dan
Carpenter
db: limit the
n
u
mb
e
r of f
u
nctio
n
p
oin
t
er calls we check
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
D
a
n C
a
rpenter
db
,
extra:
introdu
c
e add_member_i
n
fo_callback()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-12
Dan Carp
e
nter
extra, db:
r
e
cord a dummy output for ev
e
ry fun
c
t
i
o
n
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-12
Dan Carpent
e
r
d
b
:
use optio
n
_no_db
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-12
Dan
Carp
e
nter
ext
r
a, db: move some d
b
fun
c
tions from sm
a
tch_e
x
tra
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-12
D
an Carpe
n
te
r
buf_
s
i
z
e: handle function pointe
r
s as
well
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-11
Dan Carpenter
d
b
:
follow calls to f
u
nc
t
io
n
s pointers a
s
well
a
s normal
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-11
D
an
Car
p
enter
f
low:
set pos
i
tion for global variabl
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-10
Da
n
C
arpenter
signed
:
a
l
l
ow checks like: if
(
foo
<
0 ||
f
oo > x
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-10
Dan Carp
e
nter
o
v
erflow: get rid of "buffer ove
r
flow calli
n
g %s
.
param
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-10
D
a
n Carpenter
g
et
rid
o
f
--print_returns opt
i
on
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-09
D
a
n Carpenter
extra, db: we have to record every fun
c
t
ion cal
l
in
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-09
Dan Car
p
e
n
ter
r
anges: invalid ranges
d
efau
l
t to the whole range
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-08
Dan
C
arpente
r
signed: do
n
't warn about u
n
s
i
g
ned compar
i
so
n
s to macro
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-08
Da
n
C
ar
p
enter
e
xtra,
d
b: record the
struct
member values in the da
t
abas
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-08
Dan Carpe
n
ter
extra: fix p
a
r
s
ing of values
from db
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan C
a
rpenter
fil
l
_db_untru
s
ted: follow untrusted data
down the call
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
D
an Carpenter
ex
t
r
a
: don't
p
r
int i
f
the min-max as the value passed
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan Carpenter
r
anges:
i
n
troduce is_
w
h
o
le_range_rl() an
d
fix is_w
h
ole_range
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan
C
arpenter
db: use
th
e
fu
n
ction_id correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan
Carpenter
fil
l
_db_c
a
ller_info:
c
a
l
culat
e
function_id
correctl
y
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan C
a
rpenter
debug: add a __s
m
atch_possibl
e
("varia
b
le")
function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
uncapped_al
l
o
c:
u
s
e
_com
p
le
x
() ve
r
sio
n
of get
_
va
r
iable_from_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpent
e
r
e
x
tra: db: put single
q
uo
t
es arou
n
d the function name
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpent
e
r
*
new* smatch_s
c
ripts/follow_param
s
.
p
l
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Car
p
enter
hoo
k
s: remove
s
ome
c
o
m
m
en
t
ed out
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Da
n
C
arpenter
sq
l
:
s
n
printf() n
u
l term
i
nat
e
s its
strin
g
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
D
an Car
p
enter
db: move buf
_
size to the new add_de
f
i
nition_db_callbac
k
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
D
an Car
p
ent
e
r
db: intr
o
d
u
c
e
add
_
def
i
nition_d
b
_ca
l
l
b
ack()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan
C
arp
e
nter
db: st
o
re the val
u
es
o
f para
m
ete
r
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
db
:
make database code us
a
ble
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-27
Dan Ca
r
pen
t
er
*new* min_t()
cast
i
ng that
t
runc
a
t
es
t
he values
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-23
Dan
C
arpenter
*new*
r
osenberg:
c
heck for information leaks from the
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
D
a
n
C
arpenter
fl
o
w: tweak the ->pos setting f
o
r f
a
ke a
s
signments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Dan
C
arpenter
f
l
o
w: whitespac
e
ch
a
n
ges
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Dan Carpenter
flow: pas
s
condition as
s
ignments
to clients with ASSIG
N
MENT_H
O
OK
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Da
n
Carp
e
nter
no_
e
ffect: add s
o
me mo
r
e tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-14
Da
n
Carpenter
deref_check:
c
heck_deref: p
r
i
nt b
o
th
line number
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-13
Dan
Car
p
enter
core
:
set positio
n
e
ar
l
ier
i
n sm
a
tch_flow
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
D
a
n
Carpenter
slist: preserve the
-
>line
v
alue correctl
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
Dan Carpente
r
o
v
e
rflow: print more
helpful inf
o
when
t
he data file
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
D
a
n Car
p
enter
gen_ar
r
ay_bounds: filter out bogus lines
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-30
Dan Carpenter
buf
_
size: sil
e
nce a gcc
f
a
l
se pos
i
tive
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-30
D
an C
a
rpenter
use PTR
_
I
NT() and
INT_PTR() to s
i
l
e
nce cast warn
i
ngs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
D
a
n Carpen
t
er
slist: make alloc_sm
_
s
t
a
te() static
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpe
n
ter
slist: r
e
move some de
a
d cod
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan C
a
rpenter
core:
clong_sm() shou
l
d pres
e
r
ve the ->line value
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpenter
updat
e
s
match_dat
a
/ for linu
x
-3
.
1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-04
Dan Carpente
r
*new*
b
ogus_loops: w
a
rn on
b
ogus for loo
p
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-07-29
Dan
C
arpenter
extra: us
e
get_i
m
plied_
v
alue
(
)
instead of get_value
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-07-26
Dan Carp
e
nter
imp
l
ied:
h
andle
as
s
ignments inside c
o
nditions better
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Dan Car
p
enter
overflow: chec
k
sprint
f
() and snprintf
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Dan C
a
rpenter
sma
t
c
h_flow: fix
c
ompile er
r
or caused
b
y upstream chan
g
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Dan C
a
rpent
e
r
ove
r
flow: cut down on fals
e
positives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Dan
Carpe
n
ter
smatch_dat
a
: update for
3
.
0
ker
n
el
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Dan Carpenter
gen_no_return
_
funcs: always
k
eep the de
f
a
u
lt no re
t
ur
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Da
n
Carp
e
nter
In a c
o
uple place
t
h
e
origi
n
al
c
hecke
d
for --spamm
y
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
D
an
Carpenter
flo
w
:
handle known switch statements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
D
a
n Carpenter
*n
e
w* retur
n
_neg
a
t
i
ve_
v
ar:
r
eturning positi
v
e
v
a
lue
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
Dan C
a
rpenter
*
new* memset
:
check for memset(x,
y
, 0); t
y
pos
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-03
D
an Carpe
n
ter
Support __bu
i
lt
i
n_unreac
h
a
b
l
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-26
Dan Carpe
n
ter
over
f
low: format_strings: put some verb
o
se message
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-18
Dan Carpenter
buf_
s
ize:
p
ut som
e
guesse
s
b
e
h
i
n
d --s
p
ammy
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
Dan Carpente
r
extr
a
: handle coun
t
down fo
r
l
o
ops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
D
an Carpenter
add RAW_ASSIGNM
E
NT_HO
O
K
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-21
Da
n
Carpenter
Merge git://git
.
kerne
l
.
o
rg/pub/sc
m
/devel/sparse/
c
hrisl
.
.
.
commit
|
commitdiff
|
tree
2010-12-21
Dan Carpent
e
r
signed: don't complain about putting 0xff
i
nto a s
i
gn
e
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-20
D
a
n
Ca
r
penter
lo
c
king:
a
d
d _raw_s
p
in_lock_nested()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
Dan Carpenter
i
ntrodu
c
e SELE
C
T_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
Dan Carpenter
*new* check_select: retur
n
ret < 0 ?: 0;
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpente
r
*n
e
w
*
inpu
t
_free_devi
c
e:
don't c
a
ll this aft
e
r i
n
put_un
r
egis
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
D
a
n Ca
r
pente
r
*new* check_
c
ontainer
_
of: co
n
tai
n
er_o
f
() doesn'
t
retur
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpenter
create check_list_loc
a
l
.
h
which
is for un
t
rack
e
d loca
l
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Car
p
enter
lock
i
n
g: _ato
m
ic_
d
ec
_
and
_
lock
(
)
i
s
a spinlock(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan
C
arpenter
files: cleanu
p
open_file()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
D
an
C
arp
e
nter
add default no_ret
u
rn_f
u
ncs if n
o
project is specified
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carp
e
n
te
r
update smatch_data/
f
or 2
.
6
.
37
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-15
Dan C
a
rpenter
*
n
e
w
* c
h
eck_acc
e
ss_ok_math
:
pot
e
ntial intege
r
overflows
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-16
Dan Carpenter
hooks: i
n
trodu
c
e ASM_H
O
O
K
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-16
D
a
n
Carpenter
temporary h
a
c
k
to
so
l
ve crashing bu
g
i
n fs/
r
eiserfs
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-13
Dan Carpenter
lockin
g
: add
_
_raw_spin_
u
nlock_irq() function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-12
Dan Carpen
t
e
r
err_ptr_deref: fix assignment
s
insi
d
e conditions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-25
D
a
n Carpenter
loc
k
in
g
: add arch_local_irq_save(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-05
Dan C
a
r
p
enter
check
_
type
:
warn
a
bout kfr
e
e() vs free_ne
t
dev()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-05
Dan Ca
r
p
enter
t
y
pe:
improve
hand
l
i
n
g of array type
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next