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
Compare revisions
33ae7c21af4dc7b11b8c97c86e5e32c0e319cfa1 to 6643415ba67119423f874101564612a53e398576
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
opensrc/zipr_unpin_plugin
Select target project
No results found
6643415ba67119423f874101564612a53e398576
Select Git revision
Swap
Target
opensrc/zipr_unpin_plugin
Select target project
opensrc/zipr_unpin_plugin
1 result
33ae7c21af4dc7b11b8c97c86e5e32c0e319cfa1
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
more type-punning removal
· 6643415b
Jason Hiser
authored
5 years ago
6643415b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
unpin_aarch64.cpp
+2
-1
2 additions, 1 deletion
unpin_aarch64.cpp
with
2 additions
and
1 deletion
unpin_aarch64.cpp
View file @
6643415b
...
@@ -104,7 +104,8 @@ void UnpinAarch64_t::HandlePcrelReloc(Instruction_t* from_insn, Relocation_t* re
...
@@ -104,7 +104,8 @@ void UnpinAarch64_t::HandlePcrelReloc(Instruction_t* from_insn, Relocation_t* re
uint8_t
insn_bytes
[
insn_bytes_len
];
// compiler disallows init on some platforms.
uint8_t
insn_bytes
[
insn_bytes_len
];
// compiler disallows init on some platforms.
// but memcpy should init it sufficiently.
// but memcpy should init it sufficiently.
memcpy
(
insn_bytes
,
from_insn
->
getDataBits
().
c_str
(),
insn_bytes_len
);
memcpy
(
insn_bytes
,
from_insn
->
getDataBits
().
c_str
(),
insn_bytes_len
);
const
auto
full_insn
=*
(
uint32_t
*
)
insn_bytes
;
auto
full_insn
=
(
uint32_t
)
0
;
memcpy
(
&
full_insn
,
insn_bytes
,
sizeof
(
full_insn
));
const
auto
op_byte
=
insn_bytes
[
3
];
const
auto
op_byte
=
insn_bytes
[
3
];
if
(
is_adrp_type
||
is_adr_type
)
if
(
is_adrp_type
||
is_adr_type
)
...
...
This diff is collapsed.
Click to expand it.