arisada / midgetpack

midgetpack is a multiplatform secure ELF packer
Other
197 stars 37 forks source link

stub for armv6/armv7 #5

Open alexanderFell opened 5 years ago

alexanderFell commented 5 years ago

Hi,

I did some changes to pack_common.c, so I am trying to recompile the stubs of interest to me. While I can compile the amd64 versions without any issues, I got stuck in cross-compiling the stub for ARM. After installing the cross-compiler (Ubuntu 16.4 LTS) and invoking cmake with the following parameters

cmake -D CMAKE_C_COMPILER=/usr/bin/arm-linux-gnueabihf-gcc -D CMAKE_LINKER=/usr/bin/arm-linux-gnueabihf-ld -D CMAKE_AR=/usr/bin/arm-linux-gnueabihf-ar -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON -D WITH_PRECOMPILED_STUBS=0 ..

I am getting this output. output.txt

So something is not in the right order or missing, but so far I have not figured out, what it is. Maybe I am blind and do not see it at the moment. Could you let me know, how you have created the various stubs, please? I can try it from there then.

Thanks a lot, Alex