Activity for Valery Reznic

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Thank you for the info. I had a look at staticx - as far as I understand it unpack all shared libraries into temp location and run from it.Statifier uses kind of snapshot when all libraries already loaded, hence the different. RegardsValery On Monday, September 28, 2020, 7:37:11 AM GMT+3, pavel <spvkgn@users.sourceforge.net> wrote: JFYI got success using this https://github.com/JonathonReinhart/staticx/ It works with randomization enabled. exit status 136 Sent from sourceforge.net because you indicated...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Looks like that for some reason /usr/lib/statifier/elf_class ./auCDTect failed with status 136. It's mean that program was killed by the signal SIGFPE. Strange. Valery On Monday, September 7, 2020, 1:54:51 PM GMT+3, pavel <spvkgn@users.sourceforge.net> wrote: Hello Valery, could you please help, what does this exit status mean? pavel@debian:~/aucdtect$ statifier -V 1.6.12 pavel@debian:~/aucdtect$ statifier -v auCDtect auCDtect1 + Main + set -e + source /tmp/statifier.tmpdir.1074/common/option.src...

  • Valery Reznic Valery Reznic posted a comment on discussion Open Discussion

    Please check if you /usr/include/sys/ptrace.h defines enum __ptrace_request If not try to find file with this enum Valery On Wednesday, November 6, 2019, 11:26:09 AM GMT+2, vania vania99@users.sourceforge.net wrote: alpine:~# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/lto-wrapper Target: x86_64-alpine-linux-musl Configured with: /home/buildozer/aports/main/gcc/src/gcc-6.4.0/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info...

  • Valery Reznic Valery Reznic posted a comment on discussion Open Discussion

    Hi. Could you please tell me what gcc version you have? Valery On Saturday, November 2, 2019, 2:40:39 PM GMT+2, vania vania99@users.sourceforge.net wrote: Hi, trying to compile statifier on Alpine Linux 3.8 getting this: alpine:~/statifier-1.7.4/src# make all-local-64 ELF_CLASS=64 && mkdir --parents $ELF_CLASS && make ELF_CLASS=$ELF_CLASS all-local-internal make[1]: Entering directory '/root/statifier-1.7.4/src' gcc -c -m64 -I. -Icpus/x86_64 -I64 -Wall -O2 -g my_gdb/my_ptrace.c -o 64/my_ptrace.o...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Could you please send me output of the readelf -aW <your_original_exe></your_original_exe>

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    I was right after all. In the kernel in the file fs/binfmt_elf.c /* Sanity check the number of program headers... */ if (elf_ex->e_phnum < 1 || elf_ex->e_phnum > 65536U / sizeof(struct elf_phdr)) goto out; /* ...and their total size. */ size = sizeof(struct elf_phdr) * elf_ex->e_phnum; if (size > ELF_MIN_ALIGN) goto out; First check limit phdrs size to 64K, but second one - to the ELF_MIN_ALIGN. On the x86_64 system ELF_MIN_ALIGN is 4096. When I run your executable "as is" I get following bash: ./nix-instantiate-static:...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Ooops. I was wrong. Kernel able to run elf with total size of phdrs up to 64K. So problem is not the number of phdrs

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Good news - Thanks to your executable I was able to find out what problem is. readelf -h nix-instantiate-static ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x7f1ead9b21a0 Start of program headers: 64 (bytes into file) Start of section headers: 4656 (bytes into file)...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    You can't statify shared libray, only dynamically linked executable

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Unfortunately, statifiied program segfault on the systems with memory randomization....

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Could you please provide a bit more info: what is your 32-bit system (distribution,...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Hmm... Could you please upload ffmpef.static to here?

  • Valery Reznic Valery Reznic created a blog post

    release 1.7.4

  • Valery Reznic Valery Reznic committed [r610]

    copy https://svn.code.sf.net/p/statifier/code/...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Statifier 1.7.4 that solved my_gdb: can't PTRACE_PEEKTEXT - 'Input/output error'...

  • Valery Reznic Valery Reznic committed [r609]

    added 1.7.4

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Sorry for delay, I somehow missed your post. I solved this problem, no ssh access...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    No :(. If you can give me ssh access to the problematic box I can have a look

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Hi, David. If you can provide me ssh access it will be much easier than ping-pong...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Sorry for the long delay, I was on vacation. Glad that you solved the problem. With...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Hi, Alejandro. Thank you for suggestion. The problem is that you have not only statify...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Yes, likely target systems should have memory randomization turned off. You can try...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Yes, I wanted to see if your systems uses memory randomization. It is. Statified...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    On the same machine it's failed too... Can you run TWICE cat /proc/self/maps and...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Hi, Caesar. Where your executable segfault'ed - on the same box, where you statified...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Ermine uses different way for shared libraries packaging. Statified executable still...

  • Valery Reznic Valery Reznic modified a comment on discussion Help

    The statifier generated executable is still dynamic as shown by "readelf" command...

  • Valery Reznic Valery Reznic posted a comment on discussion Help

    Hi, Ahmed. You did nothing wrong. Just ldd and file/readelf looks for the info in...

1