Open trunggc opened 1 year ago
give me the error??
give me the error?? There Sir : src/formats/macho.c:195:76: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] printf("%s: Unable to find segment containing 0x%lx!\n", FUNCTION, addr); src/formats/macho.c:214:76: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] printf("%s: Unable to find section containing 0x%lx?\n", FUNCTION, addr); src/patcher.c:312:79: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
src/patcher.c:312:89: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
src/patcher.c:312:100: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
src/patcher.c:312:108: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
src/patcher.c:312:115: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
src/patcher.c:346:69: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("dyld_shc: jump too far: 0x%lx/0x%lx/0x%lx/0x%lx\n", ctx_off, lookup_off, put_off, patch_off);
src/patcher.c:346:78: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("dyld_shc: jump too far: 0x%lx/0x%lx/0x%lx/0x%lx\n", ctx_off, lookup_off, put_off, patch_off);
src/patcher.c:346:90: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("dyld_shc: jump too far: 0x%lx/0x%lx/0x%lx/0x%lx\n", ctx_off, lookup_off, put_off, patch_off);
src/patcher.c:346:99: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("dyld_shc: jump too far: 0x%lx/0x%lx/0x%lx/0x%lx\n", ctx_off, lookup_off, put_off, patch_off);
src/patcher.c:362:56: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat] printf("nvram_shc: jump too far: 0x%lx\n", nvram_off);
logs : Submodule path 'plooshfinder': checked out 'c814e1ec2a60fff3a67cae6d2515673290109acb' /Applications/Xcode.app/Contents/Developer/usr/bin/make -C plooshfinder all clang -O2 -I./include -c -o obj/plooshfinder.o src/plooshfinder.c clang -O2 -I./include -c -o obj/plooshfinder32.o src/plooshfinder32.c clang -O2 -I./include -c -o obj/plooshfinder64.o src/plooshfinder64.c clang -O2 -I./include -c -o obj/utils.o src/utils.c clang -O2 -I./include -c -o obj/formats/elf.o src/formats/elf.c clang -O2 -I./include -c -o obj/formats/macho.o src/formats/macho.c src/formats/macho.c:195:76: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] printf("%s: Unable to find segment containing 0x%lx!\n", FUNCTION, addr);
%llx
src/formats/macho.c:214:76: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
printf("%s: Unable to find section containing 0x%lx?\n", __FUNCTION__, addr);
~~~ ^~~~
%llx
2 warnings generated.
clang -O2 -I./include -c -o obj/formats/multi.o src/formats/multi.c
clang -O2 -I./include -c -o obj/formats/pe.o src/formats/pe.c
clang -O2 -I./include -c -o obj/asm/arm64.o src/asm/arm64.c
ar rcs libplooshfinder.a obj/plooshfinder.o obj/plooshfinder32.o obj/plooshfinder64.o obj/utils.o obj/formats/elf.o obj/formats/macho.o obj/formats/multi.o obj/formats/pe.o obj/asm/arm64.o
ranlib libplooshfinder.a
clang -O2 -I./include -I./plooshfinder/include -c -o obj/patcher.o src/patcher.c
src/patcher.c:312:79: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
~~~ ^~~~~~~~
%llx
src/patcher.c:312:89: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
~~~ ^~~~~~~~~
%llx
src/patcher.c:312:100: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
~~~ ^~~~~~
%llx
src/patcher.c:312:108: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
~~~ ^~~~~
%llx
src/patcher.c:312:115: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("fsctl_shc jump too far: 0x%lx/0x%lx/0x%lx/0x%lx/0x%lx\n", open_off, close_off, bl_off, b_off, patch_off);
~~~ ^~~~~~~~~
%llx
src/patcher.c:346:69: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("dyld_shc: jump too far: 0x%lx/0x%lx/0x%lx/0x%lx\n", ctx_off, lookup_off, put_off, patch_off);
~~~ ^~~~~~~
%llx
src/patcher.c:346:78: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("dyld_shc: jump too far: 0x%lx/0x%lx/0x%lx/0x%lx\n", ctx_off, lookup_off, put_off, patch_off);
~~~ ^~~~~~~~~~
%llx
src/patcher.c:346:90: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("dyld_shc: jump too far: 0x%lx/0x%lx/0x%lx/0x%lx\n", ctx_off, lookup_off, put_off, patch_off);
~~~ ^~~~~~~
%llx
src/patcher.c:346:99: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("dyld_shc: jump too far: 0x%lx/0x%lx/0x%lx/0x%lx\n", ctx_off, lookup_off, put_off, patch_off);
~~~ ^~~~~~~~~
%llx
src/patcher.c:362:56: warning: format specifies type 'unsigned long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("nvram_shc: jump too far: 0x%lx\n", nvram_off);
~~~ ^~~~~~~~~
%llx
10 warnings generated.
clang -O2 -I./include -I./plooshfinder/include -c -o obj/patches/amfi.o patches/amfi.c
clang -O2 -I./include -I./plooshfinder/include -c -o obj/patches/apfs.o patches/apfs.c
clang -O2 -I./include -I./plooshfinder/include -c -o obj/patches/kext.o patches/kext.c
clang -O2 -I./include -I./plooshfinder/include -c -o obj/patches/sandbox.o patches/sandbox.c
clang -O2 -I./include -I./plooshfinder/include -c -o obj/patches/sbops.o patches/sbops.c
clang -O2 -I./include -I./plooshfinder/include -c -o obj/patches/shellcode.o patches/shellcode.c
clang -O2 -I./include -I./plooshfinder/include -c -o obj/patches/text.o patches/text.c
clang -O2 -I./include -I./plooshfinder/include -c -o obj/patches/traps.o patches/traps.c
clang -O2 -fuse-ld=lld -L./plooshfinder -lplooshfinder -I./include -I./plooshfinder/include obj/patcher.o obj/patches/amfi.o obj/patches/apfs.o obj/patches/kext.o obj/patches/sandbox.o obj/patches/sbops.o obj/patches/shellcode.o obj/patches/text.o obj/patches/traps.o -o KPlooshFinder
I make all but error Sir. How to fix it?