Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /system/bin # ./strace ./zipalign
- execve("./zipalign", ["./zipalign"], [/* 8 vars */]) = 0
- mprotect(0x40093000, 75452, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mprotect(0x40093000, 77824, PROT_READ|PROT_EXEC) = 0
- mprotect(0x400a6000, 4096, PROT_READ) = 0
- gettid() = 389
- syscall_983045(0x400b266c, 0x400b2630, 0x400b2768, 0x40, 0x400b2630, 0xbefbae70, 0x400b266c, 0xf0005, 0x400b0f0c, 0, 0, 0, 0, 0xbefbacd8, 0x40099f4b, 0x4009c2e0, 0x60000010, 0x400b266c, 0, 0, 0xc764, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
- getpid() = 389
- sigaction(SIGILL, {0x40098c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0xc1000) = 0
- sigaction(SIGABRT, {0x40098c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0xc1000) = 0
- sigaction(SIGBUS, {0x40098c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0xc1000) = 0
- sigaction(SIGFPE, {0x40098c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0xc1000) = 0
- sigaction(SIGSEGV, {0x40098c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0xc1000) = 0
- sigaction(SIGSTKFLT, {0x40098c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0xc1000) = 0
- sigaction(SIGPIPE, {0x40098c4d, [], SA_RESTART|SA_SIGINFO}, NULL, 0xc1000) = 0
- mprotect(0x8000, 16584, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- stat64("./libz.so", 0xbefba9e0) = -1 ENOENT (No such file or directory)
- stat64("/sbin/libz.so", {st_mode=S_IFREG|0750, st_size=96004, ...}) = 0
- open("/sbin/libz.so", O_RDONLY|O_LARGEFILE) = 3
- lseek(3, 0, SEEK_SET) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\000"..., 4096) = 4096
- lseek(3, -8, SEEK_END) = 95996
- read(3, "\1\0\0\0\0\0\0\0", 8) = 8
- mmap2(NULL, 98304, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400ce000
- madvise(0x400ce000, 98304, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x400ce000, 92888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x400ce000
- madvise(0x400ce000, 92888, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mprotect(0x400ce000, 94208, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mmap2(0x400e5000, 556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x17) = 0x400e5000
- madvise(0x400e5000, 556, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- close(3) = 0
- stat64("./libc.so", 0xbefba948) = -1 ENOENT (No such file or directory)
- stat64("/sbin/libc.so", {st_mode=S_IFREG|0750, st_size=282352, ...}) = 0
- open("/sbin/libc.so", O_RDONLY|O_LARGEFILE) = 3
- lseek(3, 0, SEEK_SET) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\000"..., 4096) = 4096
- lseek(3, -8, SEEK_END) = 282344
- read(3, "\1\0\0\0\0\0\0\0", 8) = 8
- mmap2(NULL, 327680, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40005000
- madvise(0x40005000, 327680, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x40005000, 270020, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40005000
- madvise(0x40005000, 270020, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mprotect(0x40005000, 270336, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mmap2(0x40047000, 10236, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x42) = 0x40047000
- madvise(0x40047000, 10236, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x4004a000, 43900, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4004a000
- madvise(0x4004a000, 43900, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- close(3) = 0
- mprotect(0x40005000, 270336, PROT_READ|PROT_EXEC) = 0
- stat64("./libstdc++.so", 0xbefba948) = -1 ENOENT (No such file or directory)
- stat64("/sbin/libstdc++.so", {st_mode=S_IFREG|0750, st_size=5524, ...}) = 0
- open("/sbin/libstdc++.so", O_RDONLY|O_LARGEFILE) = 3
- lseek(3, 0, SEEK_SET) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\000"..., 4096) = 4096
- lseek(3, -8, SEEK_END) = 5516
- read(3, "\1\0\0\0\0\0\0\0", 8) = 8
- mmap2(NULL, 8192, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4007b000
- madvise(0x4007b000, 8192, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x4007b000, 2744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x4007b000
- madvise(0x4007b000, 2744, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mprotect(0x4007b000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mmap2(0x4007c000, 276, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x4007c000
- madvise(0x4007c000, 276, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- close(3) = 0
- mprotect(0x4007b000, 4096, PROT_READ|PROT_EXEC) = 0
- stat64("./libm.so", 0xbefba948) = -1 ENOENT (No such file or directory)
- stat64("/sbin/libm.so", {st_mode=S_IFREG|0750, st_size=87412, ...}) = 0
- open("/sbin/libm.so", O_RDONLY|O_LARGEFILE) = 3
- lseek(3, 0, SEEK_SET) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\000"..., 4096) = 4096
- lseek(3, -8, SEEK_END) = 87404
- read(3, "\1\0\0\0\0\0\0\0", 8) = 8
- mmap2(NULL, 90112, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400b4000
- madvise(0x400b4000, 90112, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x400b4000, 85396, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x400b4000
- madvise(0x400b4000, 85396, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mprotect(0x400b4000, 86016, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mmap2(0x400c9000, 256, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x15) = 0x400c9000
- madvise(0x400c9000, 256, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- close(3) = 0
- mprotect(0x400b4000, 86016, PROT_READ|PROT_EXEC) = 0
- mprotect(0x400ce000, 94208, PROT_READ|PROT_EXEC) = 0
- stat64("./libutils.so", 0xbefba9e0) = -1 ENOENT (No such file or directory)
- stat64("/sbin/libutils.so", 0xbefba9e0) = -1 ENOENT (No such file or directory)
- stat64("/vendor/lib/libutils.so", 0xbefba9e0) = -1 ENOENT (No such file or directory)
- stat64("/system/lib/libutils.so", {st_mode=S_IFREG|0644, st_size=99668, ...}) = 0
- open("/system/lib/libutils.so", O_RDONLY|O_LARGEFILE) = 3
- lseek(3, 0, SEEK_SET) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\000"..., 4096) = 4096
- lseek(3, -8, SEEK_END) = 99660
- read(3, "\1\0\0\0\0\0\0\0", 8) = 8
- mmap2(NULL, 106496, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400e6000
- madvise(0x400e6000, 106496, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x400e6000, 94720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x400e6000
- madvise(0x400e6000, 94720, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mprotect(0x400e6000, 98304, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mmap2(0x400fe000, 4124, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x17) = 0x400fe000
- madvise(0x400fe000, 4124, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- close(3) = 0
- stat64("./liblog.so", 0xbefba948) = -1 ENOENT (No such file or directory)
- stat64("/sbin/liblog.so", {st_mode=S_IFREG|0750, st_size=13892, ...}) = 0
- open("/sbin/liblog.so", O_RDONLY|O_LARGEFILE) = 3
- lseek(3, 0, SEEK_SET) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\000"..., 4096) = 4096
- lseek(3, -8, SEEK_END) = 13884
- read(3, "\1\0\0\0\0\0\0\0", 8) = 8
- mmap2(NULL, 16384, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40055000
- madvise(0x40055000, 16384, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x40055000, 11648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40055000
- madvise(0x40055000, 11648, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mprotect(0x40055000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mmap2(0x40058000, 412, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3) = 0x40058000
- madvise(0x40058000, 412, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- close(3) = 0
- mprotect(0x40055000, 12288, PROT_READ|PROT_EXEC) = 0
- stat64("./libcutils.so", 0xbefba948) = -1 ENOENT (No such file or directory)
- stat64("/sbin/libcutils.so", {st_mode=S_IFREG|0750, st_size=63912, ...}) = 0
- open("/sbin/libcutils.so", O_RDONLY|O_LARGEFILE) = 3
- lseek(3, 0, SEEK_SET) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\000"..., 4096) = 4096
- lseek(3, -8, SEEK_END) = 63904
- read(3, "\1\0\0\0\0\0\0\0", 8) = 8
- mmap2(NULL, 126976, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40100000
- madvise(0x40100000, 126976, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x40100000, 58380, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40100000
- madvise(0x40100000, 58380, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mprotect(0x40100000, 61440, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mmap2(0x4010f000, 1224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf) = 0x4010f000
- madvise(0x4010f000, 1224, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x40110000, 57788, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40110000
- madvise(0x40110000, 57788, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- close(3) = 0
- mprotect(0x40100000, 61440, PROT_READ|PROT_EXEC) = 0
- stat64("./libcorkscrew.so", 0xbefba948) = -1 ENOENT (No such file or directory)
- stat64("/sbin/libcorkscrew.so", 0xbefba948) = -1 ENOENT (No such file or directory)
- stat64("/vendor/lib/libcorkscrew.so", 0xbefba948) = -1 ENOENT (No such file or directory)
- stat64("/system/lib/libcorkscrew.so", {st_mode=S_IFREG|0644, st_size=13472, ...}) = 0
- open("/system/lib/libcorkscrew.so", O_RDONLY|O_LARGEFILE) = 3
- lseek(3, 0, SEEK_SET) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\000"..., 4096) = 4096
- lseek(3, -8, SEEK_END) = 13464
- read(3, "\1\0\0\0\0\0\0\0", 8) = 8
- mmap2(NULL, 20480, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40059000
- madvise(0x40059000, 20480, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x40059000, 9532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40059000
- madvise(0x40059000, 9532, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mprotect(0x40059000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mmap2(0x4005c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2) = 0x4005c000
- madvise(0x4005c000, 4096, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x4005d000, 64, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4005d000
- madvise(0x4005d000, 64, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- close(3) = 0
- stat64("./libgccdemangle.so", 0xbefba8b0) = -1 ENOENT (No such file or directory)
- stat64("/sbin/libgccdemangle.so", 0xbefba8b0) = -1 ENOENT (No such file or directory)
- stat64("/vendor/lib/libgccdemangle.so", 0xbefba8b0) = -1 ENOENT (No such file or directory)
- stat64("/system/lib/libgccdemangle.so", {st_mode=S_IFREG|0644, st_size=21728, ...}) = 0
- open("/system/lib/libgccdemangle.so", O_RDONLY|O_LARGEFILE) = 3
- lseek(3, 0, SEEK_SET) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\000"..., 4096) = 4096
- lseek(3, -8, SEEK_END) = 21720
- read(3, "\1\0\0\0\0\0\0\0", 8) = 8
- mmap2(NULL, 28672, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4011f000
- madvise(0x4011f000, 28672, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x4011f000, 15395, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x4011f000
- madvise(0x4011f000, 15395, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mprotect(0x4011f000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
- mmap2(0x40124000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4) = 0x40124000
- madvise(0x40124000, 4096, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- mmap2(0x40125000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40125000
- madvise(0x40125000, 16, 0xc /* MADV_??? */) = -1 EINVAL (Invalid argument)
- close(3) = 0
- mprotect(0x4011f000, 16384, PROT_READ|PROT_EXEC) = 0
- mprotect(0x40124000, 4096, PROT_READ) = 0
- munmap(0x40059000, 20480) = 0
- munmap(0x400e6000, 106496) = 0
- write(2, "link_image[1891]: 389 could no"..., 232link_image[1891]: 389 could not load needed library 'libutils.so' for './zipalign' (link_image[1891]: 389 could not load needed library 'libcorkscrew.so' for 'libutils.so' (reloc_library[1306]: 389 cannot locate 'tgkill'...
- ))) = 232
- write(2, "CANNOT LINK EXECUTABLE\n\0", 24CANNOT LINK EXECUTABLE
- ) = 24
- exit_group(-1) = ?
- Process 389 detached
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement