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
strings: record string assignments
2015-03-30
Dan Carpe
n
ter
strings: rec
o
rd
string assi
g
nme
n
ts
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
D
a
n Carpenter
struct_ass
i
gnment: save a
l
ot
m
o
re information
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
Dan Carpenter
par
a
m_limit/filter: fix a type bug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
Si
l
van Jegen
db: Avo
i
d der
e
f
e
r
e
ncin
g
n
u
ll
point
e
r
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
Dan
Carpent
e
r
compa
r
ison:
h
a
ndle c
a
nonical for loops w
i
th variable
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
D
a
n Car
p
enter
compariso
n
:
unsigned can not
b
e
less than zero
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
Dan Carp
e
nter
f
low: set __
c
ur_s
t
mt and __prev_stmt insi
d
e for
l
o
o
ps
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
Dan Ca
r
pe
n
te
r
compa
r
ison: merging
e
q
u
ival
e
nt states
i
s not undefined
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
Dan
C
a
rpenter
comparison:
f
i
x a
n
indent
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan C
a
rpent
e
r
functi
o
n_hooks: fix
up
d
b_
c
ompare_call
b
ack()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
D
a
n Ca
r
penter
funct
i
on_h
o
o
k
s, debug: prin
t
impossible returns if
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carpe
n
ter
helper:
don't strip ca
s
tin
g
in get_array_of
f
se
t
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
D
a
n Carpen
t
er
l
i
nk
s
: export merge_link_
s
tate
s
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carpente
r
help
e
r: make
e
xpr_to_str()
p
r
i
nt force
d
c
asts
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carp
e
nter
t
ype: m
a
ke type_to_str() return
a
sname() buffer
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan
C
arpent
e
r
modif
i
cation_hooks:
s
et a variable as mod
i
fied when
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
D
a
n Carpent
e
r
user_data2: tag it if a function sets parameters to
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
D
a
n Ca
r
pe
n
ter
stack
:
cleanup a function proto
t
y
pe
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carpenter
deref_che
c
k: ignore arrays
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-18
Dan Ca
r
penter
t
y
pe: make sval_typ
e
_m
a
x() default
t
o
"long long"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-18
Dan C
a
rpenter
type: don't return SYM_NODE types
f
r
om get
_
re
a
l_base_type()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-15
Dan C
a
rpenter
side_effects: the itera
t
e_all_kin
d
s() ma
c
ro has
side
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-15
Dan Carpent
e
r
unreac
h
able: don't c
o
m
p
lain a
b
out iterate_all
_
kinds()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-13
Dan
Carpenter
flo
w
: fix "f
o
o
+=
!b
a
r;"
a
ssignments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-11
D
an Carpenter
lib: ha
n
dle -
f
unsigned-char
o
ptio
n
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-10
Dan Ca
r
penter
kern
e
l
.
igno
r
e_s
i
de_effe
c
ts: add some macr
o
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-10
D
an Ca
r
penter
indenting: allow "break; case XXX:"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-05
Dan Carpenter
u
s
er_dat
a
2: mar
k
sscanf(
)
o
u
t
p
ut as
u
s
er data
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-05
Da
n
Carpenter
math,
r
l: fix ha
n
ding division involving neg
a
t
i
v
e
numbers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-05
Dan
C
arpen
t
e
r
s
val: f
i
x sval_binop_overflows(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-05
Dan Carpen
t
e
r
precedenc
e
:
complain about
"
foo << b
a
r - baz"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-04
Dan Carpent
e
r
f
lo
w
:
handle struct i
n
itialization better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-03
Da
n
Carpenter
e
s
tate:
add a NULL check in estates_equiv
(
)
commit
|
commitdiff
|
tree
2015-03-03
Dan Carpe
n
te
r
p
aram_used
:
stor
e
when a
parameter is used so we
don
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-02
Da
n
Carpent
e
r
extra: ignore more _
_
in_fake_assign data
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-02
Dan Carpen
t
e
r
comparison: fix a crashing bug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-02
Dan Carpenter
type: add an expr_sig
n
ed
(
) function that ma
t
ches
e
xpr_unsigned()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-26
D
an Carpenter
smdb
.
py: add functions
to show fu
n
ct
i
ons imp
l
e
m
enti
n
g
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-26
Dan Carpenter
extra: handle temporary shorth
a
nd
p
o
inters better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-26
Dan
Carp
e
nt
e
r
de
r
eference
s
_
p
ar
a
m: look
for pointers used as an array
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-26
Dan Ca
r
penter
ch
e
ck_
i
n
d
en
t
ing: war
n
about missing curly braces an
d
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-24
Dan C
a
rpenter
pa
r
am_c
l
eared: add a comm
e
nt
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-24
Dan Carpe
n
t
e
r
validati
o
n: corr
e
ct some
o
utput
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-24
Aaro Kos
k
ine
n
build: all
o
w use of PKG_CON
F
IG t
o
override pkg-config
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-23
Dan Carpenter
db: build indexes fa
s
ter
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-23
Dan
Ca
r
penter
slist: fix compile bre
a
ka
g
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-23
Dan Carpen
t
er
kernel_prin
t
f
:
silence some fa
l
se posit
i
ves using smatch_
s
tr
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-23
D
an Ca
r
penter
s
t
rings
:
rec
o
rd which
s
tri
n
g
s
ar
e
being
used
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-19
Da
n
Carp
e
nter
u
s
er_data2:
t
u
rn on sk
b
-
>
data taggin
g
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-19
Dan C
a
rpenter
d
b
: rename FILTER_VALUE,
L
IMITED_
V
AL
U
E
, and ADDED_VAL
U
E
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-19
Dan Carpenter
ke
r
n
el_printf
:
s
i
len
c
e some "st
r
u
ct socka
d
dr " f
a
lse
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-19
Dan Carpenter
t
y
pe:
a
dd
un
i
ons to type_to
_
str()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-18
D
an Carpenter
t
y
pe_va
l
ue
:
speed up loading the databas
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-18
Dan C
a
rpen
t
er
*new* retur
n
_cast: complain abou
t
r
e
turn -EINVAL in
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan
C
arpenter
f
o
rm
a
t_string: delete thi
s
because
c
heck_kerne
l
_prin
t
f
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan C
a
r
penter
function_hooks:
a
dd some debug
output
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Da
n
Carpenter
extra: cleanup
d
b_param_
a
dd_set(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Ca
r
p
enter
ex
t
r
a
: se
p
arate PARAM
_
LIMIT and PARAM_FILT
E
R
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpent
e
r
function_
h
oo
k
s:
d
on'
t
take
a
sh
o
rtcut for "ne
e
dless
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpenter
help
e
r: introduce
a
lloc_state_str()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan
Carpenter
math: handle "if
(likely
(
1)) {"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
D
an Carpenter
math: f
i
x/cleanu
p
d
o_comparison()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
D
a
n Carpent
e
r
capped:
d
on't
record
s
ingle values as capped in the
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpenter
db: ex
p
o
rt ge
t
_static_f
i
lter()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpenter
u
s
er_data2:
wr
o
n
g
par
a
m
e
ter tagged
a
s
u
ser data in
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Car
p
enter
rosen
b
erg: delete
so
m
e code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan
Carpent
e
r
rose
n
berg:
s
tr
i
p
away some cast
i
ng (elimi
n
ates a fa
l
se
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
D
a
n
Carpenter
r
o
senberg: don't sa
v
e
u
nneeded states
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
D
a
n Carpenter
buf_size
:
d
on't save use
l
ess i
n
form
a
tion in
the da
t
abase
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpenter
str
u
ct_assign
m
en
t
: ignore mo
r
e fake assignments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpe
n
te
r
slist: fix
debugging output
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
D
an
C
arpente
r
param_cl
e
ared, ros
e
nberg: add
u
nde
r
scored m
e
mset/
c
py
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Dan
C
arpenter
param_
f
ilter/set: d
o
n't record
f
a
k
e
assignments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Dan Carpenter
slist
,
debuggin
g
: don't print ->possibl
e
list if the
r
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Dan Carpen
t
er
type_
v
a
l:
a
d
d more stuff t
o
ignore
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Dan C
a
rpente
r
db/reload_p
a
rtial
.
sh: change database i
n
fo for one
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
S
i
lvan J
e
gen
Documen
t
a
t
ion f
i
xes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-13
Dan
C
arpenter
kerne
l
_
print
f
: put lots of si
n
gle quotes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-13
Dan Carp
e
nter
Me
r
ge
b
ran
c
h 'd
e
vel
3
'
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Rasmus Villemoes
check_kernel_printf
.
c: Allow
c
o
nst char[] format a
r
guments
commit
|
commitdiff
|
tree
2015-02-12
Rasmus
Villemoe
s
che
c
k_kernel_
p
rintf
.
c:
H
a
n
d
l
e 'fmt ? :
"d
e
f
ault"
'
commit
|
commitdiff
|
tree
2015-02-12
Rasmus
Villemoes
c
h
eck
_
ke
r
n
el_printf
.
c: Simplif
y
r
e
cursive calling
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
D
an C
a
r
p
ent
e
r
check_kernel_printf
.
c: Simplify recu
r
sive
ca
l
lin
g
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan Carpenter
ke
r
nel_prin
t
f: allow
'\b' i
f
it's
the first character
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan
Ca
r
penter
validatio
n
/sm_rosenber
g
.
c: don't pass
an
u
ninitialized
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan Carpent
e
r
k
e
rnel_p
r
intf: add so
m
e more quotes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
D
an Carpenter
ke
r
nel_printf:
m
ove a warning under the
--spammy flag
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan Carpenter
kernel_printf:
ad
d
some
q
u
ote
s
a
r
o
und the function
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan Car
p
e
n
ter
kerne
_
printf: '
%
pb'
is valid
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-11
Ra
s
mus Villem
o
es
check_kernel_printf
.
c
:
Fix braino
commit
|
commitdiff
|
tree
2015-02-11
Rasmus Villemoes
chec
k
_
kernel_printf
.
c: Strip paren
t
heses
commit
|
commitdiff
|
tree
2015-02-11
Rasmu
s
V
i
l
l
em
o
es
check
_
kernel_p
r
int
f
.
c: Handle conditionals
commit
|
commitdiff
|
tree
2015-02-11
Ra
s
mus Villemoes
smatch
:
Check the kernel's %p forma
t
e
x
tensio
n
s
commit
|
commitdiff
|
tree
2015-02-11
R
asmus Villemoes
s
match: Add
--enabl
e
opt
i
on
commit
|
commitdiff
|
tree
2015-02-11
Rasmus
Villemoe
s
smatch:
Implement
--show-che
c
ks
commit
|
commitdiff
|
tree
2015-02-11
Rasmus Ville
m
oes
smatch: Add dum
m
y
e
lement to reg_f
u
n
c
s
commit
|
commitdiff
|
tree
2015-02-11
Luc Van
O
ostenryck
Avoid reuse of st
r
ing buffer wh
e
n concate
n
in
g
adjacent
.
.
.
commit
|
commitdiff
|
tree
2015-02-11
Dan Carpenter
w
ro
n
g_size_
a
rg:
w
arn ab
o
ut "if (m
e
mcm
p
(foo,
b
ar, size
o
f
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-01-30
Dan Carpen
t
er
struct_as
s
ignment
:
remo
v
e a b
l
ank line
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-01-30
Dan
C
arpenter
s
v
al:
h
and
l
e L
E
FTSHI
F
Ts in
sva
l
_bin
o
p_overflows()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
next