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
ad266130
Unverified
Commit
ad266130
authored
Oct 20, 2021
by
Enkelmann
Committed by
GitHub
Oct 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implement domain maps (#241)
parent
473fbefc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
276 additions
and
0 deletions
+276
-0
domain_map.rs
src/cwe_checker_lib/src/abstract_domain/domain_map.rs
+272
-0
mod.rs
src/cwe_checker_lib/src/abstract_domain/mod.rs
+4
-0
No files found.
src/cwe_checker_lib/src/abstract_domain/domain_map.rs
0 → 100644
View file @
ad266130
This diff is collapsed.
Click to expand it.
src/cwe_checker_lib/src/abstract_domain/mod.rs
View file @
ad266130
...
...
@@ -19,12 +19,16 @@ pub use mem_region::*;
mod
interval
;
pub
use
interval
::
*
;
mod
domain_map
;
pub
use
domain_map
::
*
;
/// The main trait describing an abstract domain.
///
/// Each abstract domain is partially ordered.
/// Abstract domains of the same type can be merged.
pub
trait
AbstractDomain
:
Sized
+
Eq
+
Clone
{
/// Return an upper bound (with respect to the partial order on the domain) for the two inputs `self` and `other`.
#[must_use]
fn
merge
(
&
self
,
other
:
&
Self
)
->
Self
;
/// Returns whether the element represents the top element (i.e. maximal with respect to the partial order) or not.
...
...
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