Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cwe_checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
cwe_checker
Commits
3a76dfaf
Unverified
Commit
3a76dfaf
authored
Dec 02, 2020
by
Enkelmann
Committed by
GitHub
Dec 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more exact address reporting for CWE 676 (#113)
parent
64238b18
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
cwe_676.ml
src/checkers/cwe_676.ml
+1
-1
No files found.
src/checkers/cwe_676.ml
View file @
3a76dfaf
...
@@ -13,7 +13,7 @@ let get_call_to_target _cg callee target =
...
@@ -13,7 +13,7 @@ let get_call_to_target _cg callee target =
|
Goto
_
|
Ret
_
|
Int
(
_
,_
)
->
None
|
Goto
_
|
Ret
_
|
Int
(
_
,_
)
->
None
|
Call
dst
->
match
Call
.
target
dst
with
|
Call
dst
->
match
Call
.
target
dst
with
|
Direct
tid
when
tid
=
(
Term
.
tid
target
)
->
|
Direct
tid
when
tid
=
(
Term
.
tid
target
)
->
Some
(
Term
.
name
callee
,
Term
.
tid
blk
,
Term
.
name
target
)
Some
(
Term
.
name
callee
,
Term
.
tid
j
,
Term
.
name
target
)
|
_
->
None
))
|
_
->
None
))
let
get_calls_to_symbols
cg
subfunctions
symbols
=
let
get_calls_to_symbols
cg
subfunctions
symbols
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment