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 &
2011-06-13
Dan Carpenter
In a
cou
p
le place the origi
n
a
l
checked for --spammy
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
D
a
n Carpe
n
ter
flow:
h
a
ndle known switch statements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
Da
n
Carpenter
*new* r
e
turn_nega
t
ive_v
a
r: r
e
turning pos
i
tiv
e
values
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
Dan
Carpenter
*
n
ew* memset: check for m
e
m
set(x, y, 0); ty
p
o
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-03
Dan Carpenter
Support __builtin_unreachab
l
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-26
Dan C
a
rpenter
overflow:
format_strings: put some ver
b
ose messages
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-18
Da
n
C
ar
p
enter
buf_size
:
put
some g
u
esses behind --s
p
a
mmy
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
Dan
C
ar
p
enter
extra
:
han
d
l
e coun
t
down for loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
Dan Carpe
n
ter
add RAW_ASSI
G
NMENT_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-21
Dan Carpenter
Merge
git
:
/
/
git
.
kernel
.
org/pu
b
/sc
m
/devel/sparse
/
chrisl
.
.
.
commit
|
commitdiff
|
tree
2010-12-21
Dan Carpenter
s
igned:
d
on't c
o
mp
l
ain abou
t
putt
i
ng
0xff into a
signed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-20
Dan C
a
rpenter
l
ocking:
add _raw_sp
i
n_lock_nested()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
Dan Car
p
ent
e
r
int
r
o
d
uce SELECT_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
Dan Carpe
n
t
er
*new* chec
k
_select: r
e
t
urn ret < 0 ?: 0;
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan C
a
rpen
t
er
*
new* inp
u
t_free_de
v
ice: don't
cal
l
this after input_unregis
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Ca
r
penter
*new*
check_c
o
nta
i
ner_of: contai
n
er_of() do
e
s
n't
return
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan
C
arpenter
create
check_list_local
.
h which
i
s
for
untracked l
o
cal
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carp
e
nter
locki
n
g:
_atomic_dec_and_lock() is a spinlock()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan C
a
rpen
t
er
fil
e
s: cleanup
open_file()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpen
t
er
a
d
d default no_
r
e
t
urn_funcs if no project is specifi
e
d
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Car
p
enter
up
d
ate
s
match_data/ for 2
.
6
.
37
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-15
Dan Ca
r
penter
*new*
check_
a
c
ce
s
s_
o
k_math: po
t
e
ntial integer overflo
w
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-16
Dan
Carpenter
hooks: in
t
roduce
ASM_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-16
Dan Carpenter
tempo
r
ary
h
ack to solve
c
r
a
s
hing bug in f
s
/reise
r
fs
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-13
Dan Carpenter
locking: add __raw_spin_
u
nlo
c
k
_
irq()
functio
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-11-12
Dan Ca
r
penter
err_ptr_dere
f
: fix as
s
ignments
insid
e
cond
i
tions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-25
Dan Carpenter
lock
i
ng:
a
d
d a
r
ch_l
o
ca
l
_irq_
s
ave()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-05
Dan Carp
e
nter
c
heck_ty
p
e: w
a
rn about kfree(
)
vs
f
r
e
e
_netdev()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-10-05
D
an Carpenter
type: im
p
rov
e
handl
i
ng
of array t
y
pes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Carpenter
ext
r
a: move some
stuff i
n
to
smatch_dinfo
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Ca
r
p
e
nter
buf_size: oops
.
.
.
remove debug output!
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Carpe
n
ter
whitespace_only: don't e
r
ror
out handling
.
h files
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan Carpenter
*new* g
e
t
_user_ove
r
f
low: check for integer overflows
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan
C
arpenter
smatch_db: don't comp
l
ain if the db doesn't
e
xist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Dan
C
arpent
e
r
buf_s
i
ze: do
cross f
u
nction analysis
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
D
an Car
p
ente
r
*
n
ew*
u
ncapped
_
a
ll
o
c: print
pla
c
e
s
where the user decid
e
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
D
an
C
a
rpen
t
er
*
new* smatch_db:
use and sqlite dat
a
base for cr
o
ss
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-10
Da
n
Carpenter
param_mapper: update copyright
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-09-01
Dan
Ca
r
pen
t
er
add test-i
n
spec
t
to
.
gitig
n
o
r
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan C
a
rpenter
smat
c
h_scripts/gen_expects_err
_
ptr
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carpenter
s
m
a
tch_data/ke
r
nel
.
array_bounds: array boundary
d
ata
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carpe
n
ter
e
x
p
e
c
ts_e
r
r_ptr: make a
l
i
st of functions which
a
ccept
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carpente
r
unwind: add more u
n
w
i
nd fu
n
c
tions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
D
an Carpe
n
ter
updat
e
smatch_data/ for 2
.
6
.
36-rc
2
(part 2)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-30
Dan Carp
e
nter
overflow:
f
i
xup cross function o
v
erflows
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-26
Dan Carpent
e
r
remove dead no_le16 cruft
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-26
Dan Car
p
enter
unwind: add
m
ore u
n
win
d
func
t
i
ons
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-24
D
an Carpenter
remove check_le16
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-24
Dan Carpenter
Updat
e
s
m
at
c
h_data
t
o 2
.
6
.
36-r
c
2 [patch 1 of m
o
re]
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-24
Da
n
Carpente
r
kernel: contain
e
r_
o
f() re
t
u
rn
s
a no
n
-N
U
L
L pointer
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-24
D
a
n Car
p
enter
Introduce
add_macro_as
s
ign_hook()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-21
Dan Carpenter
fix
out of me
m
ory h
a
ndling
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-18
Dan Ca
r
penter
New functions
retur
n
s
_u
n
signed(
)
and return
s
_
p
ointer()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-18
Dan
C
ar
p
enter
*new* check_info_leak
.
c: places that pass un-zeroe
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-18
Dan C
a
rpenter
*new* check_return_
e
nomem: compl
a
in about r
e
turning
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-04
Dan
C
ar
p
ente
r
*new
*
platf
o
rm_device
_
put() vs platform_devi
c
e_del()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-03
Dan Carpen
t
er
unwind: literals h
i
gher
than
z
ero are not an err
o
r
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-03
Dan Carpenter
i
m
plied:
only print the nr_children m
e
ssages if th
e
r
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-03
Dan
Carpent
e
r
unwind: register u
n
wind f
u
nctions t
h
at unwind everyth
i
ng
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-03
Dan Carpe
n
te
r
u
nwi
n
d: update equivalent states
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
D
an Carpe
n
t
er
e
x
tra:
clean u
p
unused variables
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
D
an Carpenter
equ
i
v: update validation test
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
D
an Carpenter
extra: handle WAR
N
_
O
N(func(&set_this_pointer));
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
Dan
Carpenter
bu
f
_size: I bro
k
e initializer
han
d
l
i
n
g by mis
t
ake
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
Dan Carpenter
oo
p
s
.
fix compi
l
e
error
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
Dan
Car
p
enter
buf_size
:
remove memset()
a
nd memmo
v
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-01
D
a
n
C
arpenter
imp
l
ie
d
_
n
o
t_equal: handl
e
literals
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-01
Dan
C
arpenter
resource: cr
a
s
hing bug on
incorrect input
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
D
a
n Ca
r
penter
buf_size: ig
n
o
r
e dynamically s
i
zed arra
y
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carp
e
n
ter
b
uf_size: add
sup
p
ort
for m
e
mdup()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Da
n
Carpent
e
r
buf
_
size: add support for strndup()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan
C
arpenter
b
u
f_siz
e
: use str
c
py
(
)
to determine the
s
i
ze of the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan
C
a
rpenter
bu
f
_
size: use s
t
rncpy()
a
nd frie
n
ds to
set the buf
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpente
r
buf_size: whitespace changes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
D
an Carpent
e
r
o
v
e
rflow
:
r
e
m
o
ve
unused fun
c
tio
n
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
D
an Carpe
n
t
e
r
buf_size: use all
o
c_state_nu
m
(
) inst
e
ad of c
u
stom
ver
s
ion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpenter
buf_size
:
remove unus
e
d definition
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan C
a
rpe
n
ter
overfl
o
w: m
a
ke array size t
r
ack
i
ng into a
l
ibrary function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-30
Dan Carpenter
unwind: add pci_iom
a
p() and
p
ci_iounmap
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-29
Dan Carpenter
*
n
e
w* che
c
k_kmall
o
c_to_bugon
:
don't call
b
ug_on() for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-29
Dan
Carpenter
*ne
w
* ch
e
ck_unwind: check that mo
d
u
le_init fun
c
tion
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
Dan Carpen
t
er
cor
e
: proces
s
inlin
e
s
tatements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
Dan Carpenter
flow: handle asm stateme
n
ts correct
l
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
Dan Carp
e
nter
Me
r
g
e git://gi
t
.
ker
n
el
.
o
rg/pub/scm/devel/spar
s
e/chrisl
.
.
.
commit
|
commitdiff
|
tree
2010-07-19
Dan Carpen
t
er
a
d
d ubifs_
a
ssert() to list of assert macros that
c
a
ll
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
D
a
n
Carpenter
check_dma: add a check for foo = k
m
allo
c
(sizeof(*
f
o
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-14
Dan Carpenter
signed: unsigned
var
i
ables ar
e
allowed to d
o
m
a
th with
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
Dan C
a
rpe
n
ter
o
v
erflo
w
:
h
and
l
e "if (strlen(
f
oo)
< 10) {
.
.
.
"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
Dan Carpenter
o
v
erflow: add support for strlen()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Dan
Carpenter
leaks:
repl
a
ce che
c
k
_
memory
.
c with a r
e
w
r
i
t
e
c
he
c
k
_
l
e
aks
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Dan Carpenter
get_va
r
i
a
b
l
e_from_expr_comple
x
(): re
t
urn pro
p
er symbol
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan Carpe
n
ter
Makefile
:
sma
l
l whitespa
c
e
change
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
D
a
n Carpent
e
r
m
e
mory: remove the wa
r
nings about freed
memory
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
D
a
n
C
a
r
pe
n
t
e
r
che
c
k_f
r
ee: create a se
p
arate
check
f
or misusin
g
f
reed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-05
Dan Carpenter
relat
e
d: re
n
ame d
i
nfo->
e
qu
i
v to
d
info->related
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan Carpente
r
constraints: shuffle t
h
ings a
r
ound a bit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Da
n
Carpenter
*new*
s
cripts/g
e
n
e
r
i
size
.
pl
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan Carp
e
n
t
e
r
type: allow t
h
e
par
a
meter to
b
e nu
l
l
for
t
ype_unsig
n
ed()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-15
Dan Ca
r
pe
n
t
e
r
r
e
do
t
he ignored
_
m
a
c
ros stu
f
f properly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
conditions:
fix memory leak
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next