Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zipr_unpin_plugin
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Open Source Software
zipr_unpin_plugin
Commits
0ea0da05
Commit
0ea0da05
authored
6 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
formatting
parent
3cec8348
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
unpin.cpp
+2
-2
2 additions, 2 deletions
unpin.cpp
with
2 additions
and
2 deletions
unpin.cpp
+
2
−
2
View file @
0ea0da05
...
@@ -536,8 +536,8 @@ void Unpin_t::DoUpdateForInstructions()
...
@@ -536,8 +536,8 @@ void Unpin_t::DoUpdateForInstructions()
if
(
is_ldr_int_type
)
if
(
is_ldr_int_type
)
{
{
// convert: ldr w/x reg : 0 x1 011 0 00 ---imm19---- Rt5 x1 indicate size (0,1 -> w/x)
// convert: ldr w/x reg : 0 x1 011 0 00 ---imm19---- Rt5 x1 indicate
s
size (0,1 -> w/x)
// to : ldr x/w reg : 1 x1 111 0 01 01 imm12 Rn5 Rt5 x1 indciates s
z
ie (0,1 -> w/x)
// to : ldr x/w reg : 1 x1 111 0 01 01 imm12 Rn5 Rt5 x1 indciates si
z
e (0,1 -> w/x)
auto
new_ldr_bytes
=
string
(
"
\x00\x00\x40\xb9
"
,
4
);
auto
new_ldr_bytes
=
string
(
"
\x00\x00\x40\xb9
"
,
4
);
auto
new_ldr_word
=*
(
int
*
)
new_ldr_bytes
.
c_str
();
auto
new_ldr_word
=*
(
int
*
)
new_ldr_bytes
.
c_str
();
const
auto
orig_ldr_size_bit
=
(
full_insn
>>
30
)
&
mask1
;
const
auto
orig_ldr_size_bit
=
(
full_insn
>>
30
)
&
mask1
;
...
...
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