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
db: do the caller_info stuff earlier
2023-03-03
Dan Carpenter
db: do the caller_info s
t
uff e
a
r
l
ier
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carpenter
d
b
:
fix returned informat
i
on
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carpenter
struc
t
_as
s
ign
m
ent:
m
ake the f
a
ked_expression function
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpente
r
user_da
t
a: fix a
n
i
s
_new s
e
ttin
g
in handling assignments
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
kernel_user_data:
d
on
'
t set
*
m
y
_struct to use
r
d
ata
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Ca
r
pen
t
er
kern
e
l_user_d
a
t
a
:
i
gnore
vo
i
d types
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpent
e
r
db/fixup_kernel
.
sh: onl
y
record on
e
work queue caller
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan
Carpenter
estate:
poi
n
ters
can't have
a
fuzzy max
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Ca
r
penter
points_to_user_data: all
calls to copy_from_user()
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpe
n
ter
struct_
a
ssi
g
nment: introduc
e
crea
t
e_
r
e
c
u
rsive_fake_assignments()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan
C
arp
e
n
ter
parse_c
a
l
l
_math: store ==$0 even f
o
r kno
w
n
values
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan C
a
rpent
e
r
h
ooks: s
a
ve the
container->own
e
r
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
returns_
n
egative_error_cod
e
: low positives are not
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
r
e
turns_negative
_
error_code: empty states
a
re no
t
error
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
points_to_user_data:
r
ename s
e
t
_points_t
o
_user_data
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-27
D
a
n Carpente
r
sm_hash: exp
o
rt str_to
_
llu_hash
_
hel
p
er
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-27
Dan
Carp
e
nter
s
match: don't include "scope
.
h
"
for no reason
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-27
Dan Ca
r
pen
t
er
flow: pull
p
arse_assignment()
into i
t
s own function
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
Da
n
Carpenter
flow: re
v
ert previous commit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
Dan Carpent
e
r
fl
o
w: handle struct assignments later
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
D
a
n
C
arpenter
points_to_u
s
er_da
t
a: handle some poi
n
ter m
a
th better
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
Dan C
a
rpenter
points_to
_
user_data: communicate USER
_
PT
R
returns to
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpenter
p
o
in
t
s_to_u
s
er_data: hard cod
e
some ksmbd stuff
as
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
Dan
C
arpenter
f
unction_hooks: d
o
e
a
rly stuff even earl
i
er
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpente
r
funct
i
on_hook
s
: don't call db_return_states() early
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
D
a
n
C
arpenter
functio
n
_hooks: introduce early add_
f
un
c
ti
o
n_hook_ea
r
ly()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpent
e
r
un
r
e
a
chable:
change int
t
o bool
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-22
Da
n
C
a
rp
e
nte
r
unreach
a
ble: delet
e
an extra s
p
ac
e
character
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-22
D
an Carpenter
unr
e
acha
b
le
:
ignore all f
o
r_XXX macros
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-15
Dan Carpent
e
r
expressi
o
n
s
: make gen_expression_from_key() handle
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-15
Dan Carpen
t
er
expressio
n
s: make gen_expr
_
from_param_ke
y
() work for
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-09
Dan Ca
r
pent
e
r
sleeping in atomic: silence some
duplicate
w
ar
n
ings
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpen
t
er
db/kernel
.
return_fix
e
s: update noti
f
ier_to_errno
(
)
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
an Carpenter
d
b/smdb
.
py: upda
t
e the t
y
pe
s
tr
i
n
gs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Car
p
enter
ke
r
n
e
l
.
unreachable
.
ign
o
re: add damon_for
_
each
_
target
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan
C
arpenter
expr
e
ss
i
ons: add cast_expression()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Car
p
ent
e
r
expre
s
s
io
n
s
:
f
ix a ->
v
s
.
bug
i
n gen_
e
x
pression_
f
rom_key()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carp
e
nter
extra: pass a di
f
f
e
r
e
nt
mod
_
expr for va
n
i
l
l
a
a
s
signm
e
nts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Da
n
Carpenter
buf_compar
i
son
:
add s
u
pport for st
r
uc
t
_size()
a
rray
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n
Carpenter
h
o
oks:
c
ommit
s
ome
missing bits
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan
C
arpenter
helper: 0-s
3
2max
r
eturns
a
re success
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Ca
r
penter
h
e
l
p
e
r: add
a
s
t
rip_parens()
in get_member_name
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
kerne
l
_host_data: ign
o
r
e
nonsense
information
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpe
n
ter
db/clea
r
_user_data: clean user data mo
r
e thoroughly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
kernel_user_data:
i
gnor
e
non
s
ense data
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Da
n
C
arp
e
n
ter
kernel_user
_
dat
a
: add some mor
e
functio
n
s t
h
at return
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan
Carpenter
function
_
h
ooks: create fak
e
_para
m
_as
s
ign_hel
p
er()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan
Carpenter
preemp
t
_
i
nfo: a
d
d rht_lock and bit_
s
pin_lock
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
sche
d
u
l
i
n
g
_in_atomi
c
: Add mas
_
store_g
f
p
(
) as
a speci
a
l
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
dma_mapping
_
error: d
e
lete obso
l
ete check
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
direct_
r
et
u
r
n
_
inst
e
ad_
o
f_got
o
: don't warn about printk
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-06
Dan Carpen
t
er
sleep_inf
o
:
hand
l
e mut
e
xes correctly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-02
Dan
C
arpenter
expressions: handle a
case in gen_expression
_
from_key()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-02
Dan Carpenter
db: improve reco
r
ding w
h
e
n
we return a
parameter
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-01-19
D
a
n Carpenter
ker
n
el_user_data:
iov_iter_count()
r
eturns us
e
r data
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-01-18
Dan
Carpenter
p
a
r
am_key
:
export the split_param_key() funct
i
on
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-01-12
Dan Carpenter
free_str
i
ct: don
'
t promote "maybe_freed" to
"freed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-13
Dan Carpenter
function
_
hoo
k
s:
use
t
h
e
co
r
rect
expression
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-09
Dan Carpent
e
r
debu
g
: print the par
a
m key of a varia
b
le
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-08
Dan
Car
p
ent
e
r
generisize
.
pl: remove the f
u
n
ction name from
"too small
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-08
D
an Carpenter
frees_param_s
t
rict
:
handl
e
assi
g
ned para
m
eters
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-07
Dan Car
p
e
nter
b
u
f_size:
s
mall clea
n
up
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-06
Da
n
C
a
r
p
ent
e
r
kernel
.
ig
n
ore_
s
ide_effects: ignore mem
c
py/mov
e
/set
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpente
r
math: do another strlen
fix
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
D
a
n
Carpent
e
r
s
t
rle
n
: add __builtin and
__fortify function
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Dan
C
arpenter
str
u
ct_a
s
signme
n
t: add __builtin_me
m
set/memc
p
y()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
D
a
n Carpen
t
er
p
a
ra
m
_cle
a
r
:
a
d
d __
b
uiltin_
m
emset/memcpy
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Dan
C
arpenter
postop_tim
e
out: warn
about in
c
orrec
t
whi
l
e (t
i
meout
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-28
Dan Carpent
e
r
unchecked_allo
c
a
tion: warn abo
u
t potential NULL dereferences
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
go
t
o_tracker: still doesn'
t
build
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n
C
arpenter
goto_tracker: c
r
eate a g
o
t
o state for goto statements
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan
C
arpe
n
ter
smatch
.
h: expo
r
t
__smatch_lin
e
n
o
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n Ca
r
p
e
nter
kernel: add
h
andling for kref
_
p
u
t
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n Carpenter
kernel_user
_
data: clean
u
p variable in t
a
g_st
r
uct_me
m
b
e
rs(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpent
e
r
kernel_
u
se
r
_
data
:
intr
o
duce
a
param/key table
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpen
t
er
missing_error_code2: warn about return re
t
where re
t
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carp
e
nter
missing_error_cod
e
:
c
le
a
nu
p
s
/
yup/true/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Ca
r
p
e
nter
missing_error_code
:
fix bug hand
l
ing inlines
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-24
D
an Carpenter
di
r
ect
_
r
eturn_
i
nstead_of_g
o
t
o: warn about missing unwi
n
ds
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-24
D
a
n Ca
r
penter
d
ivide
_
condition: warn about if (
f
oo / 4)
{
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-23
Dan Carpenter
functio
n
_h
o
o
k
s:
d
o
set_fresh_mtag_
r
etu
r
ns() l
a
ter
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-11-21
Dan Carpenter
recogniz
e
b
inary constants
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-14
Da
n
C
a
rpenter
dere
f
_check: che
c
k_deref:
print both
l
i
ne numbers
commit
|
commitdiff
|
tree
2011-09-13
D
a
n C
a
rp
e
nter
core: set p
o
sition earlier in smatch_flow
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-12
Dan Carp
e
nter
sli
s
t: preserve the
-
>line
v
alue correctly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-12
Dan Carpenter
overflow: print more helpfu
l
info when the data file
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-12
Dan Car
p
enter
gen_arra
y
_bo
u
nds
:
filter o
u
t
b
o
gus lines
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-30
Dan Carpen
t
er
b
u
f_size: silenc
e
a
gcc false
positive
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-30
Dan Carpenter
use PTR_INT() and INT_PTR() to silence cast
w
a
r
nings
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-25
D
an
C
arpenter
sl
i
s
t
: make
a
lloc_sm_state() static
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carp
e
nter
sli
s
t: remov
e
som
e
de
a
d code
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpenter
c
o
re:
c
long_sm() should pre
s
erve the ->l
i
n
e
va
l
ue
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpenter
u
pdate smatc
h
_d
a
ta/
f
or linu
x
-3
.
1
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-04
D
a
n
Carpenter
*new* bo
g
us
_
loops: warn o
n
bogus for loops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-07-29
D
an Carpent
e
r
extra: use get_implied_value() instead of get_value
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-07-26
Dan Car
p
ente
r
implied
:
handle a
s
sig
n
ments
i
n
side conditions better
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-17
D
a
n Ca
r
penter
ov
e
r
f
low:
c
he
c
k
s
printf()
and
snp
r
i
n
tf()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-17
Dan Carpenter
s
m
atch_flow: fix compile er
r
o
r ca
u
sed by ups
t
rea
m
changes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-17
D
an C
a
rpenter
o
v
e
rf
l
ow: cut down on false p
o
sitives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-13
Dan
C
arpenter
smatch_data: update for 3
.
0 k
e
r
n
el
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next