Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SMPStaticAnalyzer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
SMPStaticAnalyzer
Commits
ff942489
Commit
ff942489
authored
17 years ago
by
clc5q
Browse files
Options
Downloads
Patches
Plain Diff
Add memory region type refinements for POINTER type.
parent
9a783c4e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SMPDataFlowAnalysis.h
+7
-3
7 additions, 3 deletions
SMPDataFlowAnalysis.h
with
7 additions
and
3 deletions
SMPDataFlowAnalysis.h
+
7
−
3
View file @
ff942489
...
...
@@ -118,10 +118,14 @@ enum SMPitype {
// at all, which is even better. In order to emit these annotations, we
// will track all operands in a function as to their basic SMP types.
enum
SMPOperandType
{
// What type is a given register or memory operand?
UNINIT
,
// Operand type not yet analyzed
UNINIT
,
// Operand type not yet analyzed
; type lattice top
NUMERIC
,
// Definitely holds non-pointer value (char, int, etc.)
POINTER
,
// Definitely holds an address
UNKNOWN
// Might hold an address, might not (Bad!)
CODEPTR
,
// Definitely holds a code address
POINTER
,
// Definitely holds a data address
STACKPTR
,
// Definitely holds a stack data address (refinement of POINTER)
GLOBALPTR
,
// Definitely holds a global static data address (refinement of POINTER)
HEAPPTR
,
// Definitely holds a heap data address (refinement of POINTER)
UNKNOWN
// Might hold an address, might not (Bad!); type lattice bottom
};
class
DefOrUse
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment