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
buf_size: handle function pointers as well
2011-10-12
Dan Carp
e
n
ter
buf_size: handle function po
i
nters
as w
e
ll
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-11
Da
n
Carpen
t
er
db: follo
w
calls t
o
functions
p
ointers as well as normal
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-11
Dan Carpent
e
r
fl
o
w: set position for gl
o
bal variables
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-10
D
an
Carpenter
signed: allow checks like: if (foo <
0
|| f
o
o > x
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-10
Dan Car
p
enter
overflo
w
: get rid of
"
buffer overflow c
a
llin
g
%s
.
param
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-10
Dan Ca
r
penter
get rid
of --pri
n
t_re
t
urn
s
option
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-09
Dan Ca
r
penter
extra, db: we
have to record every funct
i
on
c
all in
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-09
D
an Carpen
t
e
r
r
a
nges
:
in
v
alid r
a
nges default to t
h
e whole range
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-08
Dan
C
arpent
e
r
signe
d
:
don
'
t warn a
b
out unsigned comparisons to macros
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-08
Dan Car
p
enter
extra,
db: record the str
u
c
t
m
e
mber values in the da
t
abase
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-08
Da
n
C
a
rpenter
extr
a
:
fix pars
i
n
g of values fr
o
m db
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan C
a
rpenter
f
i
l
l
_db_untrusted: follow untrus
t
e
d data down
t
he
c
a
ll
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
D
a
n
Carpenter
e
x
tra: don't pri
n
t
i
f
t
h
e
min
-
m
a
x
a
s t
h
e va
l
u
e
passed
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
D
an Carpenter
ranges:
i
ntrod
u
ce
is_w
h
ole_range_rl() and fix is_whole_rang
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan
C
arpenter
db:
use the functio
n
_id co
r
rectly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan Ca
r
pent
e
r
fill_db_cal
l
er_info: calcula
t
e funct
i
on_id correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan Carpenter
d
e
bug: add a
_
_sm
a
tch_
p
ossible("variabl
e
") funct
i
o
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
u
ncapp
e
d_alloc
:
use _
c
omplex() version of get_variab
l
e_fr
o
m_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
e
xtra: db: put single quotes a
r
ound the func
t
i
on name
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
D
an Ca
r
penter
*new* smatch_
s
cript
s
/
follow
_
para
m
s
.
pl
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Da
n
Carp
e
nt
e
r
hooks: remove
s
ome commented out code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan C
a
rp
e
nter
sql: snprintf
(
) nu
l
term
i
nates its st
r
i
n
gs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
D
an Carpe
n
ter
db: m
o
ve buf_size to th
e
new add
_
defini
t
ion_db_ca
l
lback()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
db: introduc
e
a
dd
_
definition_db_callback()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
D
an Carpenter
db: stor
e
the val
u
es of
p
aram
e
ters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
D
a
n Ca
r
p
e
nte
r
d
b
:
m
a
k
e datab
a
se
code
usable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-27
Dan Carpe
n
ter
*ne
w
* min_t() casting that trunc
a
t
es th
e
va
l
ues
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-23
Dan Carpenter
*new* rosenberg: che
c
k
for in
f
ormation le
a
ks from
t
h
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
D
an
C
arpenter
flow: tweak the ->pos setting for fake assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Dan Carpenter
f
l
ow: whitespace changes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Dan Carpenter
flow: pass condition assignme
n
ts to clients with ASSIG
N
MENT
_
HOOK
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Da
n
Carpen
t
er
no_effect: add
s
ome
m
ore tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-14
Dan Carpe
n
ter
deref_ch
e
ck: che
c
k
_
deref: print
b
o
t
h line numbers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-13
Dan Carpenter
core: set
po
s
ition earlier i
n
smatch_flow
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
Kar
e
l
Z
ak
smatch: add --data=<d
i
r
>
o
ption
commit
|
commitdiff
|
tree
2011-09-12
Da
n
Carp
e
nter
slist
:
preserve the
-
>
l
ine valu
e
co
r
rect
l
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
Dan
C
arpenter
ov
e
rflow:
p
r
i
n
t
m
ore helpfu
l
inf
o
w
hen
t
h
e
data file
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
Dan Carpenter
ge
n
_array_bounds: filter
o
ut bogus line
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-30
Dan
C
arpenter
buf_si
z
e
:
s
i
lence a
g
cc false posi
t
ive
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-30
Da
n
C
a
r
penter
use
P
TR_INT() and
I
NT_PTR() to sil
e
nce cast wa
r
nings
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Da
n
Carpente
r
slist
:
ma
k
e alloc_sm_state() static
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan C
a
rp
e
n
t
er
s
l
ist: remove some dea
d
code
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpenter
c
o
re: clon
g
_sm() shoul
d
preserve the ->line value
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan C
a
r
p
en
t
er
update s
m
a
tch_data/ fo
r
li
n
ux-3
.
1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-04
Dan Carpenter
*new* bogus_loops: warn on bogus for loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-07-29
Dan Carpenter
e
x
tra:
use
g
e
t_im
p
li
e
d_value() instea
d
of get_valu
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-07-26
Dan Car
p
enter
impli
e
d: h
a
ndle ass
i
gnmen
t
s
ins
i
d
e con
d
i
t
ions be
t
ter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Da
n
Carpenter
o
v
e
r
flow: ch
e
ck
sprintf() and snprintf()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Dan Carpenter
sm
a
tch_flow: fix comp
i
le error cau
s
ed by upstream
chan
g
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Diego El
i
o
Pettenò
Fix bu
i
ld with G
C
C
4
.
6 series
.
commit
|
commitdiff
|
tree
2011-06-17
Dan Carpente
r
overflow: cut down
o
n false positiv
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Dan C
a
rpenter
smat
c
h_data: upda
t
e for 3
.
0 k
e
rnel
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Dan Car
p
en
t
er
g
en_no_re
t
u
r
n_funcs:
a
lways
keep the default no return
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Dan
C
a
r
penter
In a coup
l
e pl
a
ce
t
he
o
riginal
c
hecked for --spammy
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
D
a
n
Carpe
n
ter
fl
o
w
:
handle know
n
switch statement
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
D
an Carpenter
*
n
ew* return_ne
g
ative_var: returnin
g
p
o
si
t
ive va
l
ues
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
Da
n
Carpenter
*
n
e
w* memset: check f
o
r me
m
set(x, y, 0);
t
ypos
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-03
Da
n
C
arpenter
S
u
pport __
b
uiltin
_
unreac
h
able(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-05-23
Tetsu
o
H
a
nda
F
ix build erro
r
with older package
.
commit
|
commitdiff
|
tree
2011-05-23
Randy
M
a
cL
e
od
F
i
x
grammati
c
al e
r
rors in R
E
A
D
ME-sma
t
ch
commit
|
commitdiff
|
tree
2011-01-26
Da
n
Carpente
r
overflow: format_st
r
i
n
gs: put some verbose me
s
sages
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-18
Dan C
a
rpenter
buf_size: put
so
m
e guesses
b
ehind
-
-
spamm
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
Dan
Carpenter
e
xtra: h
a
ndle count down for loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
Dan Carpenter
add RAW_ASSIGNMENT_HOO
K
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-21
D
a
n Ca
r
penter
Mer
g
e git://
g
it
.
ker
n
el
.
org/pub/scm/devel/sparse/chrisl
.
.
.
commit
|
commitdiff
|
tree
2010-12-21
Dan Carpente
r
sign
e
d:
don't
c
o
m
plain
ab
o
ut putting 0xff
i
n
t
o a signed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-20
Dan
C
a
rpente
r
lo
c
kin
g
:
add _
r
aw_
s
pi
n
_l
o
ck
_
nested()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
Dan
C
arpenter
i
n
troduce SELECT_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
Dan Carpenter
*new*
check_selec
t
: return ret < 0 ?:
0;
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Ca
r
penter
*new* inpu
t
_free
_
dev
i
ce: don't
c
all th
i
s aft
e
r
inp
u
t
_
u
n
r
egis
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpe
n
ter
*
n
ew* check_co
n
t
ainer_of:
c
ontainer_of(
)
d
o
esn't ret
u
rn
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Da
n
Carpenter
c
r
e
ate
c
heck_
l
ist_
l
ocal
.
h which i
s
for un
t
ra
c
k
ed lo
c
al
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpente
r
lock
i
ng
:
_
atomi
c
_dec_a
n
d_loc
k
(
) is a spinlock()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan C
a
rpenter
files: cleanup open_
f
ile()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan C
a
rp
e
nte
r
a
dd
default no
_
retur
n
_
f
uncs if no
proj
e
ct i
s
sp
e
cified
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpenter
update smatch_data/
f
or 2
.
6
.
37
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-15
Da
n
Carpenter
*new* check_acc
e
ss_ok_math: potential integ
e
r overflows
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-16
Dan Carpenter
hooks: introduce ASM_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-16
Dan Ca
r
penter
temporary hack to
so
l
ve crashing bug in f
s
/reise
r
fs
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-13
Da
n
Carpe
n
ter
locking: add __r
a
w_spin_unlock_irq(
)
function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-12
D
an
C
arpenter
e
r
r_ptr_
d
eref:
f
ix
a
ssign
m
ents inside co
n
ditions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-25
Dan Carpenter
l
o
cki
n
g
:
a
dd arch_lo
c
al_
i
rq_
s
a
ve()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-05
Dan Carpenter
c
heck
_
type: wa
r
n
a
bout
k
free(
)
vs free_
n
etdev()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-05
Dan Carp
e
nte
r
t
y
pe: i
m
p
r
ove handling of array
t
ypes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
D
a
n
C
arpenter
extra: move some stuff into smatch_dinf
o
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
D
a
n Carpenter
b
u
f
_
size: oops
.
.
.
remove debug output!
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Da
n
Carpen
t
e
r
wh
i
tes
p
ace_only: d
o
n't error out handling
.
h files
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
D
a
n Carpenter
*new* get_user_overflow: check for integer
o
verflows
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Carpenter
smat
c
h_db: don
'
t compl
a
in if the db does
n
't exist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
D
a
n Carpenter
buf_size:
d
o cr
o
ss function anal
y
sis
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Carpenter
*new* uncap
p
ed_allo
c
:
pr
i
nt plac
e
s where the
u
ser
d
ecides
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Ca
r
pente
r
*new* sm
a
tch_db: us
e
and
sq
l
ite database
f
or cross
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Carpente
r
param_
m
apper
:
up
d
ate copyrigh
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carpe
n
ter
smatch
_
script
s
/gen_
e
xp
e
c
ts_err_pt
r
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carpent
e
r
smatch_data/kern
e
l
.
array_bounds: array bo
u
ndary d
a
ta
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carpenter
e
xpe
c
ts_err_
p
tr: make a list of functions w
h
i
c
h
a
ccept
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carp
e
nter
unwi
n
d
:
add
more unwind funct
i
ons
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan C
a
rpenter
update smat
c
h_data/ f
o
r
2
.
6
.
36-
r
c2
(part 2
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan
Carpent
e
r
overflow: fixu
p
cr
o
s
s f
u
nc
t
ion overflows
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-26
D
a
n
Carpen
t
er
remov
e
dead
n
o_le16 cru
f
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next