Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
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
Zipr Toolchain
Commits
d7407490
Commit
d7407490
authored
11 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
Redoing mem-decl fixes for push/jmp. update somehow erased them.
Former-commit-id: ed994d871f7b51cf28c85e193b95e4882e4df87b
parent
a158fa79
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
beaengine/beaengineSources/Includes/internal_datas.h
+1
-1
1 addition, 1 deletion
beaengine/beaengineSources/Includes/internal_datas.h
libIRDB/test/fill_in_indtargs.cpp
+0
-22
0 additions, 22 deletions
libIRDB/test/fill_in_indtargs.cpp
with
1 addition
and
23 deletions
beaengine/beaengineSources/Includes/internal_datas.h
+
1
−
1
View file @
d7407490
...
...
@@ -244,7 +244,7 @@ char MasmPrefixes[8][16] = {
char
NasmPrefixes
[
8
][
8
]
=
{
"byte "
,
/* GV.MemDecoration == 1 */
"word "
,
/* GV.MemDecoration == 2 */
" "
,
/* GV.MemDecoration == 3 */
"
dword
"
,
/* GV.MemDecoration == 3 */
"qword "
,
/* GV.MemDecoration == 4 */
" "
,
/* GV.MemDecoration == 5 (multibytes) */
"tword "
,
/* GV.MemDecoration == 6 */
...
...
This diff is collapsed.
Click to expand it.
libIRDB/test/fill_in_indtargs.cpp
+
0
−
22
View file @
d7407490
...
...
@@ -142,31 +142,12 @@ void get_instruction_targets(FileIR_t *firp)
{
Instruction_t
*
insn
=*
it
;
DISASM
disasm
;
memset
(
&
disasm
,
0
,
sizeof
(
DISASM
));
#if 0
disasm.Options = NasmSyntax + PrefixedNumeral;
disasm.Archi = 32;
disasm.EIP = (UIntPtr) insn->GetDataBits().c_str();
disasm.VirtualAddr = insn->GetAddress()->GetVirtualOffset();
#endif
int
instr_len
=
insn
->
Disassemble
(
disasm
);
assert
(
instr_len
==
insn
->
GetDataBits
().
size
());
/* we are moving the marking of callsite indirects into fix calls
* which has a better notion of whether the callsite indicates an
* indirect branch target at the next instruction
*/
#if 0
/* calls indicate an indirect target, pc+sizeof(instruction) */
if(disasm.Instruction.BranchType==CallType)
{
possible_target(disasm.VirtualAddr+instr_len);
}
else
#endif
/* other branches can't indicate an indirect branch target */
if
(
disasm
.
Instruction
.
BranchType
)
continue
;
...
...
@@ -177,9 +158,6 @@ void get_instruction_targets(FileIR_t *firp)
handle_argument
(
&
disasm
.
Argument1
);
handle_argument
(
&
disasm
.
Argument2
);
handle_argument
(
&
disasm
.
Argument3
);
}
}
...
...
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