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/untracked_param: move mark_call_params_untracked()
2023-02-08
Da
n
Carpen
t
er
expre
s
s
ions: fix a -> vs
.
bug
i
n gen
_
expression_from_key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
rpenter
extra: pass a
differen
t
mo
d
_expr for vanilla assig
n
ments
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Da
n
Ca
r
p
enter
buf_compari
s
on: add sup
p
o
r
t for st
r
uct_
s
ize() a
r
r
a
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
hooks: commi
t
some missin
g
b
its
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
rpenter
helper: 0-s32max returns are s
u
ccess
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Ca
r
penter
helper
:
add a s
t
ri
p
_parens() in
get_member
_
name()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
k
ern
e
l_host
_
data:
i
g
nore n
o
ns
e
n
s
e
info
r
mation
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
db/clear_user_data:
c
lean user data
m
ore
thoroughly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpente
r
kernel_user_d
a
ta: ignore nonsense
data
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
an Carpenter
kerne
l
_user_data: add some more fun
c
tions that retu
r
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n
C
arpen
t
er
function_
h
ooks: create fake_para
m
_assign_helper()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Da
n
Carpenter
preempt
_
info
:
add rh
t
_loc
k
an
d
bit_spin
_
lock
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Da
n
Carpenter
scheduling_in_atomic:
A
dd mas_store_gfp() as a
s
pe
c
ial
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
dma_mapping_error: delete obsol
e
te check
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
d
irect
_
return_in
s
tea
d
_of_got
o
: d
o
n't warn a
b
o
u
t
printk
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-06
Dan
Carpenter
sleep
_
i
n
fo
:
han
d
le mut
e
xe
s
c
o
r
r
e
c
tly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan Carpente
r
expre
s
sio
n
s: han
d
le a case in gen_expression_fr
o
m_key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan Ca
r
pent
e
r
db: improv
e
recording when
w
e
retu
r
n a parameter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-19
Dan Car
p
ente
r
kernel_u
s
er_da
t
a: iov_it
e
r_count() returns
user data
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-18
Dan Carpenter
param_key: export
the
s
plit_param_key() fun
c
ti
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-12
Dan Ca
r
pe
n
t
er
free_strict: don't pro
m
ote "maybe_freed" to "freed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-13
Dan Carpe
n
ter
function_hooks: use the corr
e
c
t expression
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-09
D
a
n Carpenter
debug: print the pa
r
am key of a
v
ariable
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
Da
n
Carpenter
g
e
nerisize
.
pl: remove the f
u
nctio
n
name f
r
o
m
"
too small
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
D
a
n
Carpent
e
r
free
s
_param_stri
c
t
: handle assign
e
d parameters
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-07
Dan Carpenter
buf_size: small clean
u
p
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-06
D
an Carpent
e
r
kerne
l
.
ign
o
re_side_effe
c
ts:
i
gnore
m
emc
p
y/move/set
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
m
a
th:
do
a
no
t
her str
l
en fix
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpent
e
r
strlen:
a
dd __builtin and __fortif
y
f
u
nctions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
struct_assignment: add __b
u
iltin_m
e
mse
t
/memcpy()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpente
r
param_cle
a
r: add _
_
b
u
iltin
_
memset/memcp
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan
C
arp
e
nter
postop_time
o
ut: warn a
b
out inco
r
r
e
c
t whil
e
(
tim
e
ou
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-28
Da
n
Carpente
r
un
c
hecked_allocation: warn about potent
i
al NULL
dereferences
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n Carpenter
got
o
_tracker
:
still doesn
'
t bu
i
l
d
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n C
a
rpenter
goto_tracker:
create a goto state fo
r
go
t
o statements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpe
n
ter
smatc
h
.
h: export
_
_smatc
h
_lineno
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpente
r
k
e
r
n
e
l:
ad
d
h
an
d
ling for kref_put()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
D
an Carpenter
kernel
_
user_data: cl
e
an up var
i
able in tag_struct_
m
e
mbers()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan
Carp
e
nte
r
k
e
rnel_us
e
r_da
t
a: in
t
roduce a param
/
key table
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n Carpenter
missin
g
_error_code2: wa
r
n
abou
t
return
r
e
t w
h
e
r
e r
e
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Da
n
Carpenter
missing
_
error_code: cle
a
nup s/y
u
p/tr
u
e/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpente
r
missing_er
r
or_code: fix bug handling
i
n
lines
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-24
Dan Carpe
n
ter
di
r
e
c
t_retu
r
n_instead
_
o
f_goto:
warn ab
o
ut missing unwinds
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-24
Dan Carpenter
divide_conditi
o
n: warn about
i
f
(f
o
o / 4
)
{
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-23
Dan Carpenter
f
un
c
tio
n
_hooks
:
do
s
et_fresh_mtag_returns() later
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-10
Dan
C
ar
p
enter
t
y
pe: export is_v
o
id_ptr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-10
Da
n
Ca
r
pente
r
free_strict: add qdisc
_
e
n
queue() as a free function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-10
D
a
n Carpenter
release_re
s
ou
r
ce:
a
dd
a
llo
c
ate_resource(
)
as a requ
e
st
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-07
Dan C
a
rpenter
db: a
d
d a NULL check in is_kerne
l
_s
u
cc
e
ss_fail()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-03
D
a
n Carpenter
data/kern
e
l
.
unreachable
.
i
gno
r
e: add
p
ut_us
e
r()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-02
Dan Carpent
e
r
assig
n
e
d
:
s
trip some as
s
ignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-27
Dan Carpenter
unreachable: ignore outb outw and
outl
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Da
n
C
a
rpenter
comparison: use COMPARE_
L
IMIT
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Ca
r
penter
db: g
e
t rid of
R
ELEASE_OLD
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Carpenter
f
ixup_kernel
.
sh
:
up
d
ate to use hashed fil
e
names
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Carpenter
typ
e
: ge
t
t
y
pe
f
rom _Generic
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Da
n
Carpen
t
er
sm_hash: remove i
n
co
r
rect "0
x
"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-21
D
an Carpenter
f
l
o
w
:
fix o
r
der
i
ng for STM
T
_
HOOK_AFTER wr
t
labe
l
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-21
Dan Carpenter
function_hooks: fix an or
d
er
i
n
g
issue in add_f
u
nct
i
on_p
a
ram_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan Carpen
t
er
sm_hash: mov
e
the
sm_hash
p
rogram
t
o smatch_data/
d
b/
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
D
a
n Carpenter
smatch: cl
e
an up
num_checks
c
ounting
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan
C
a
rpent
e
r
c
o
mparison:
b
e smarter about "foo vs fo
o
- 1" compa
r
is
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan Carp
e
nter
comparison: d
e
l
e
te unne
c
essary code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-10
D
a
n Carpenter
buf_compar
i
son: chec
k
the correct
v
a
riable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-10
Dan Carpenter
buf_size: use
0
for the e
x
tern file id
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-10
Da
n
Ca
r
penter
buf_size: use fil
e
id
inste
a
d of file name
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpent
e
r
zero_to_err_ptr
:
sile
n
ce some false
p
o
sitive
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan
Carpenter
db: use NULL
i
ns
t
ead o
f
ze
r
o
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Da
n
Ca
r
pente
r
conditions: delete point
l
es
s
debug c
o
de
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpenter
flow: set a
f
lag insideh
a
ndle_bu
i
ltin_ov
e
rflo
w
_fun
c
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan C
a
r
p
enter
helpe
r
: -EIOCB
Q
UEU
E
D i
s
no
t
an er
r
or
.
It is a
s
uccess
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Da
n
Ca
r
penter
hooks: a
d
d a w
a
rn
i
n
g
to dete
c
t unimp
l
emented hooks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
D
an
Carpenter
buf
_
c
o
mparison: add special
case
f
or byte size
e
lements
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Ca
r
p
enter
sm_hash: create a binary to
ge
n
er
a
t
e
hashes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Carpenter
db/smdb
.
py: display the file
name and
not the ha
s
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan
C
arp
e
nter
mtag:
make h
a
shes non negative (clear BIT(63))
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Carp
e
nter
d
b
/hash_string
.
s
chema:
o
nly the hash needs t
o
be
u
niqu
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
D
an Carpenter
db:
w
h
ite space chan
g
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Ca
r
penter
db: p
r
event crash parsing i
n
valid c
o
de
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Carpe
n
te
r
db
:
delete temporary hack for v2
.
6
.
3
7
-rc1
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan
C
arpen
t
er
db: use hashes instead of file names
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-05
Dan Ca
r
penter
mtag: intr
o
duce str_
t
o_llu_hash()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-05
Dan Carpe
n
ter
mtag:
s
witc
h
to s
h
a1
hashes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-03
E
l
ena Reshet
o
va
check_host_inpu
t
: add a new pattern
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-03
Elena Resheto
v
a
h
o
st_data: export ch
e
cking fo
r
host func
t
ion
name/p
a
ram
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-29
Dan Carpenter
h
e
l
p
er
:
export
s
t
rip
_
Generic()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-26
Da
n
Carpenter
kernel
.
unconstant_m
a
cros: add AZX_DC
A
PS_
I
915_COM
P
ONE
N
T
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-22
Da
n
Carpe
n
t
er
extra: don't
over write previous if
s
tat
e
ments bec
a
use
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-22
Dan Carpenter
db/kernel
.
ret
u
rn_fixes:
r
a
nd
o
m s
m
all error codes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-22
Dan Carpe
n
ter
flow: strip out pare
n
t
he
s
es before fa
k
i
ng a
return
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-20
Dan Carpen
t
er
user/host_dat
a
: assume ca
p
p
ed data is less th
a
n
I
N
T
_
M
AX
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-20
Dan Carpen
t
er
smat
c
h: dele
t
e pointle
s
s NULL
che
c
ks (
s
ile
n
ce GC
C
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-20
Dan C
a
rpenter
c
o
n
stants: fix build (part of
c
om
m
it
m
issing)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-06
D
a
n
C
a
r
p
en
t
er
kerne
l
_hos
t
_data: add (stru
c
t
v
i
rtio_config
_
ops)
-
>get
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-09-06
Dan
C
a
rpenter
function_hooks:
l
e
t
check regis
t
er call bac
k
s on function
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Dan Ca
r
penter
extra: handle
PARAM_S
E
T for buffers b
e
tter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
D
a
n Carpe
n
ter
flo
w
: add support for _Generic()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Da
n
Carpenter
helper: make strip
_
p
a
r
e
ns_symbol() str
i
p everything
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Dan Ca
r
p
e
nter
common_fu
n
ctions: fix strnlen() handling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-08-26
Christop
h
e JAILLET
a
l
loca
t
ion:
Add some kv
.
.
.
varia
n
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next