Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support for S390 architecture #771

Open
fanquake opened this issue Aug 15, 2022 · 1 comment
Open

Improve support for S390 architecture #771

fanquake opened this issue Aug 15, 2022 · 1 comment
Assignees
Labels
ELF enhancement Good First Issue Issue that can be addressed without an in-depth understanding of LIEF Parser

Comments

@fanquake
Copy link
Contributor

Cross-compile a minimal test.cpp using s390x-linux-gnu-g++:

#include <iostream>
int main(void) {
        std::cout << "Hello s390x!\n";
        return 0;
}

s390x-linux-gnu-g++ test.cpp
import lief

binary = lief.parse("a.out")
print(binary)
Architecture S390 not implemented
Architecture S390 not implemented
Architecture S390 not implemented
Architecture S390 not implemented
Architecture S390 not implemented
Architecture S390 not implemented
Header
======
Magic:                           7f 45 4c 46 
Class:                           CLASS64
Endianness:                      MSB
Version:                         CURRENT
OS/ABI:                          SYSTEMV
ABI Version:                     0
Machine type:                    S390
File type:                       DYNAMIC

or

import lief

binary = lief.parse("a.out")
print(binary.abstract.header.architecture)
S390 is not supported!
ARCHITECTURES.NONE
@romainthomas
Copy link
Member

Ack

@romainthomas romainthomas added enhancement ELF Parser Good First Issue Issue that can be addressed without an in-depth understanding of LIEF labels Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ELF enhancement Good First Issue Issue that can be addressed without an in-depth understanding of LIEF Parser
Projects
None yet
Development

No branches or pull requests

2 participants