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
00c44b76
Commit
00c44b76
authored
5 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
mips?!
parent
00d39f77
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5466
passed
5 years ago
Stage: clean
Stage: build
Stage: protect_bins
Stage: test
Stage: deploy
Changes
2
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
irdb-libs/libIRDB-core/src/fileir.cpp
+3
-12
3 additions, 12 deletions
irdb-libs/libIRDB-core/src/fileir.cpp
zipr
+1
-1
1 addition, 1 deletion
zipr
with
4 additions
and
13 deletions
irdb-libs/libIRDB-core/src/fileir.cpp
+
3
−
12
View file @
00c44b76
...
...
@@ -1156,24 +1156,15 @@ void FileIR_t::setArchitecture()
e_ident
[
4
]
==
ELFCLASS64
?
64
:
throw
std
::
invalid_argument
(
"Unknown ELF class"
);
const
auto
e_type
=
elf_big_endian
?
be16toh
(
hdr_union
.
ehdr32
.
e_type
)
:
elf_big_endian
?
le16toh
(
hdr_union
.
ehdr32
.
e_type
)
:
throw
invalid_argument
(
"Unknown endianness"
);
const
auto
e_type
=
elf_big_endian
?
be16toh
(
hdr_union
.
ehdr32
.
e_type
)
:
le16toh
(
hdr_union
.
ehdr32
.
e_type
)
;
const
auto
ft
=
e_type
==
ET_DYN
?
IRDB_SDK
::
adftELFSO
:
e_type
==
ET_EXEC
?
IRDB_SDK
::
adftELFEXE
:
throw
std
::
invalid_argument
(
"Unknown file type"
);
const
auto
e_machine32
=
elf_big_endian
?
be16toh
(
hdr_union
.
ehdr32
.
e_machine
)
:
elf_big_endian
?
le16toh
(
hdr_union
.
ehdr32
.
e_machine
)
:
throw
invalid_argument
(
"Unknown endianness"
);
const
auto
e_machine64
=
elf_big_endian
?
be16toh
(
hdr_union
.
ehdr64
.
e_machine
)
:
elf_big_endian
?
le16toh
(
hdr_union
.
ehdr64
.
e_machine
)
:
throw
invalid_argument
(
"Unknown endianness"
);
const
auto
e_machine32
=
elf_big_endian
?
be16toh
(
hdr_union
.
ehdr32
.
e_machine
)
:
le16toh
(
hdr_union
.
ehdr32
.
e_machine
)
;
const
auto
e_machine64
=
elf_big_endian
?
be16toh
(
hdr_union
.
ehdr64
.
e_machine
)
:
le16toh
(
hdr_union
.
ehdr64
.
e_machine
)
;
const
auto
mt
=
e_machine32
==
EM_MIPS
?
IRDB_SDK
::
admtMips32
:
e_machine32
==
EM_386
?
IRDB_SDK
::
admtI386
:
...
...
This diff is collapsed.
Click to expand it.
zipr
@
87121339
Compare
d06241b4
...
87121339
Subproject commit
d06241b4990d3a7
64c5
cdae7feec1fff8409c23a
Subproject commit
8712133942f8bd8d8aae4b2b374b
64
4
c5
442c989
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