Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gdsl-toolkit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tanzeem Haque
gdsl-toolkit
Commits
3af3936d
Commit
3af3936d
authored
Mar 17, 2013
by
Julian Kranz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X86 RREIL Translator
- Continued to implement the use of sub scopes
parent
b3470453
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
.hgtags
.hgtags
+0
-1
specifications/x86/x86-rreil-translator-m-z.ml
specifications/x86/x86-rreil-translator-m-z.ml
+4
-2
specifications/x86/x86-rreil-translator.ml
specifications/x86/x86-rreil-translator.ml
+5
-3
No files found.
.hgtags
View file @
3af3936d
020dca84d06f508ce7c75112dbc5406a03c2dc49 big_dis.c
58542cde3ead8c38d85d2e5fb3946945eea7a12b inference_bug
specifications/x86/x86-rreil-translator-m-z.ml
View file @
3af3936d
...
...
@@ -234,12 +234,14 @@ val sem-mul conv x = do
sz
<-
sizeof1
x
.
opnd1
;
factor0
-
sem
<-
return
(
semantic
-
register
-
of
(
register
-
by
-
size
low
A
sz
));
factor0
<-
expand
conv
(
var
factor0
-
sem
)
sz
(
sz
+
sz
);
factor0
<-
mktemp
;
expand
factor0
conv
(
var
factor0
-
sem
)
sz
(
sz
+
sz
);
factor1
<-
reads
conv
(
sz
+
sz
)
x
.
opnd1
;
product
<-
mktemp
;
mul
(
sz
+
sz
)
product
factor0
factor1
;
mul
(
sz
+
sz
)
product
(
var
factor0
)
factor1
;
emit
-
mul
-
flags
sz
product
;
...
...
specifications/x86/x86-rreil-translator.ml
View file @
3af3936d
...
...
@@ -186,10 +186,12 @@ val conv-with conv sz x =
t
<-
mktemp
;
address
<-
conv
-
mem
x
;
segmented
-
load
x
.
sz
t
x
.
psz
address
x
.
segment
;
expand
expanded
conv
(
var
t
)
x
.
sz
sz
expand
expanded
conv
(
var
t
)
x
.
sz
sz
;
return
(
var
expanded
)
end
in
do
in
do
#
address
<-
conv
-
mem
x
;
expanded
<-
mktemp
;
with
-
subscope
(
m
expanded
);
return
(
var
expanded
)
...
...
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