Skip to content

Updated x86_linux and x8664_linux to use GLIBC 2.39#33

Merged
xwings merged 2 commits into
qilingframework:masterfrom
PlatyPew:master
Jul 20, 2024
Merged

Updated x86_linux and x8664_linux to use GLIBC 2.39#33
xwings merged 2 commits into
qilingframework:masterfrom
PlatyPew:master

Conversation

@PlatyPew
Copy link
Copy Markdown
Contributor

@PlatyPew PlatyPew commented Apr 28, 2024

This uses the GLIBC 2.39 from Ubuntu 24.04, and fixes the issue with using binaries compiled with versions past GLIBC 2.34.

I have also patched out the "CPU ISA level is lower than required" check. I have not tested this thoroughly, only with Intel 32-bit and 64-bit binaries compiled with glibc 2.39.

This should fix qilingframework/qiling#1201, however, Qiling is still required to fix the syscall failure.

@elicn
Copy link
Copy Markdown
Member

elicn commented Apr 28, 2024

I think it is better to create a new Linux rootfs flavor based on these files rather than replace the existing ones, that may serve older executables.

@PlatyPew
Copy link
Copy Markdown
Contributor Author

Oh that’s a good idea, perhaps x86_linux_glibc2.39 and x8664_linux_glibc2.39?

patched out cpu isa check in ld-linux.so.2
patched out cpu isa check in ld-linux-x86-64.so.2
@xwings xwings merged commit 6d4d654 into qilingframework:master Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Qiling fails to emulate simple binary with a ubuntu-22.04 root fs

3 participants