mirror of
https://github.com/upx/upx.git
synced 2025-08-07 22:46:51 +08:00
CI updates
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -19,8 +19,8 @@ env:
|
||||
UPX_DEBUG_TEST_FLOAT_DIVISION_BY_ZERO: 1
|
||||
UPX_DEBUG_TEST_LIBC_QSORT: 1
|
||||
ZSTD_CLEVEL: 9
|
||||
# 2025-01-20
|
||||
ZIG_DIST_VERSION: 0.14.0-dev.2851+b074fb7dd
|
||||
# 2025-01-29
|
||||
ZIG_DIST_VERSION: 0.14.0-dev.2987+183bb8b08
|
||||
|
||||
jobs:
|
||||
job-rebuild-and-verify-stubs:
|
||||
|
@ -51,7 +51,7 @@ void printClearLine(FILE *f) noexcept {
|
||||
fflush(stderr);
|
||||
if (f == nullptr)
|
||||
f = stdout;
|
||||
con_fprintf(f, "%s", clear_line_msg);
|
||||
con_fprintf(f, "%s", clear_line_msg); // NOLINT(clang-analyzer-unix.Stream)
|
||||
fflush(f);
|
||||
printSetNl(0);
|
||||
}
|
||||
|
@ -109,7 +109,8 @@ void PackLinuxElf32x86interp::pack1(OutputFile *fo, Filter &)
|
||||
h3.phdr[1].p_flags = Elf32_Phdr::PF_W | Elf32_Phdr::PF_R;
|
||||
h3.phdr[1].p_align = 1;
|
||||
h3.phdr[2].p_type = PT_INTERP;
|
||||
h3.phdr[2].p_offset = (char *)&h3.phdr[2].p_vaddr - (char *)&h3;
|
||||
// h3.phdr[2].p_offset = (char *)&h3.phdr[2].p_vaddr - (char *)&h3;
|
||||
h3.phdr[2].p_offset = offsetof(cprElfHdr3, phdr[2].p_vaddr);
|
||||
memcpy(&h3.phdr[2].p_vaddr, "/upxrun", h3.phdr[2].p_filesz = 8);
|
||||
h3.phdr[2].p_align = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user