Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The buttons do not appear in the registry, the reassignment of keys does not work.> #10

Open
reivajpg opened this issue May 7, 2023 · 1 comment

Comments

@reivajpg
Copy link

reivajpg commented May 7, 2023

   #4 https://github.com/Simon34545/lginputhook/issues/4         > 

Same problem, in my case I have WebOS version: 7.3.0, with Firmware version: 03.30.71
Version of ipk 1.4.0

ezinject-lginput2.log

[/mnt/ExtData/ezpatch/clean/ezinject.c:884] [INFO] Attaching to 1937 [/mnt/ExtData/ezpatch/clean/ezinject.c:891] [INFO] waiting for target to stop... [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 19 (Stopped (signal)) [/mnt/ExtData/ezpatch/clean/ezinject.c:374] [INFO] Looking up libc.so.6 [/mnt/ExtData/ezpatch/clean/ezinject.c:380] [DEBG] libc.remote=0xf724a000 [/mnt/ExtData/ezpatch/clean/ezinject.c:381] [DEBG] libc.local=0xf7e39000 [/mnt/ExtData/ezpatch/clean/ezinject.c:408] [DEBG] libdl.local=0xf7f31000 [/mnt/ExtData/ezpatch/clean/ezinject.c:409] [DEBG] libdl.remote=0xf78ac000 [/mnt/ExtData/ezpatch/clean/ezinject.c:413] [DEBG] dlopen offset: 0xeed [/mnt/ExtData/ezpatch/clean/ezinject.c:418] [DEBG] dlclose offset: 0xf5d [/mnt/ExtData/ezpatch/clean/ezinject.c:423] [DEBG] dlsym offset: 0xfb1 [/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:55] [DEBG] ctx->libc_mmap.remote=0xf72e2811 [/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:56] [DEBG] ctx->libc_open.remote=0xf72d9759 [/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:57] [DEBG] ctx->libc_read.remote=0xf72d9ac1 [/mnt/ExtData/ezpatch/clean/ezinject.c:439] [DEBG] ctx->libc_syscall.local=0xf7ed1721 [/mnt/ExtData/ezpatch/clean/ezinject.c:439] [DEBG] ctx->libc_syscall.remote=0xf72e2721 00010000-00018000 r-xp 00000000 b3:3b 12540 /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject 00027000-00028000 r--p 00007000 b3:3b 12540 /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject 00028000-00029000 rw-p 00008000 b3:3b 12540 /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject 01406000-01427000 rw-p 00000000 00:00 0 [heap] f6b39000-f6b3a000 ---p 00000000 00:00 0 f6b3a000-f733a000 rw-p 00000000 00:00 0 f733a000-f733b000 ---p 00000000 00:00 0 f733b000-f7c3c000 rw-p 00000000 00:00 0 f7c3c000-f7c44000 r-xp 00000000 b3:1b 34817 /usr/lib/libunwind.so.8.0.1 f7c44000-f7c54000 ---p 00008000 b3:1b 34817 /usr/lib/libunwind.so.8.0.1 f7c54000-f7c55000 r--p 00008000 b3:1b 34817 /usr/lib/libunwind.so.8.0.1 f7c55000-f7c56000 rw-p 00009000 b3:1b 34817 /usr/lib/libunwind.so.8.0.1 f7c56000-f7c6f000 rw-p 00000000 00:00 0 f7c6f000-f7cbc000 r-xp 00000000 b3:1b 34591 /usr/lib/libpcre.so.1.2.12 f7cbc000-f7ccb000 ---p 0004d000 b3:1b 34591 /usr/lib/libpcre.so.1.2.12 f7ccb000-f7ccc000 r--p 0004c000 b3:1b 34591 /usr/lib/libpcre.so.1.2.12 f7ccc000-f7ccd000 rw-p 0004d000 b3:1b 34591 /usr/lib/libpcre.so.1.2.12 f7ccd000-f7cd9000 r-xp 00000000 b3:1b 34809 /usr/lib/libunwind-arm.so.8.0.1 f7cd9000-f7ce8000 ---p 0000c000 b3:1b 34809 /usr/lib/libunwind-arm.so.8.0.1 f7ce8000-f7ce9000 r--p 0000b000 b3:1b 34809 /usr/lib/libunwind-arm.so.8.0.1 f7ce9000-f7cea000 rw-p 0000c000 b3:1b 34809 /usr/lib/libunwind-arm.so.8.0.1 f7cea000-f7d03000 rw-p 00000000 00:00 0 f7d03000-f7d1c000 r-xp 00000000 b3:1b 4622 /lib/libgcc_s.so.1 f7d1c000-f7d2b000 ---p 00019000 b3:1b 4622 /lib/libgcc_s.so.1 f7d2b000-f7d2c000 r--p 00018000 b3:1b 4622 /lib/libgcc_s.so.1 f7d2c000-f7d2d000 rw-p 00019000 b3:1b 4622 /lib/libgcc_s.so.1 f7d2d000-f7e02000 r-xp 00000000 b3:1b 34234 /usr/lib/libglib-2.0.so.0.6200.6 f7e02000-f7e11000 ---p 000d5000 b3:1b 34234 /usr/lib/libglib-2.0.so.0.6200.6 f7e11000-f7e12000 r--p 000d4000 b3:1b 34234 /usr/lib/libglib-2.0.so.0.6200.6 f7e12000-f7e13000 rw-p 000d5000 b3:1b 34234 /usr/lib/libglib-2.0.so.0.6200.6 f7e13000-f7e26000 r-xp 00000000 b3:1b 4646 /lib/libpthread-2.31.so f7e26000-f7e35000 ---p 00013000 b3:1b 4646 /lib/libpthread-2.31.so f7e35000-f7e36000 r--p 00012000 b3:1b 4646 /lib/libpthread-2.31.so f7e36000-f7e37000 rw-p 00013000 b3:1b 4646 /lib/libpthread-2.31.so f7e37000-f7e39000 rw-p 00000000 00:00 0 f7e39000-f7f1c000 r-xp 00000000 b3:1b 4604 /lib/libc-2.31.so f7f1c000-f7f2b000 ---p 000e3000 b3:1b 4604 /lib/libc-2.31.so f7f2b000-f7f2d000 r--p 000e2000 b3:1b 4604 /lib/libc-2.31.so f7f2d000-f7f2f000 rw-p 000e4000 b3:1b 4604 /lib/libc-2.31.so f7f2f000-f7f31000 rw-p 00000000 00:00 0 f7f31000-f7f34000 r-xp 00000000 b3:1b 4612 /lib/libdl-2.31.so f7f34000-f7f43000 ---p 00003000 b3:1b 4612 /lib/libdl-2.31.so f7f43000-f7f44000 r--p 00002000 b3:1b 4612 /lib/libdl-2.31.so f7f44000-f7f45000 rw-p 00003000 b3:1b 4612 /lib/libdl-2.31.so f7f54000-f7f57000 r-xp 00000000 b3:1b 4598 /lib/libSegFault.so f7f57000-f7f66000 ---p 00003000 b3:1b 4598 /lib/libSegFault.so f7f66000-f7f67000 r--p 00002000 b3:1b 4598 /lib/libSegFault.so f7f67000-f7f68000 rw-p 00003000 b3:1b 4598 /lib/libSegFault.so f7f68000-f7f6b000 r-xp 00000000 b3:1b 34763 /usr/lib/libsystrim.so.3.0.0 f7f6b000-f7f7a000 ---p 00003000 b3:1b 34763 /usr/lib/libsystrim.so.3.0.0 f7f7a000-f7f7b000 r--p 00002000 b3:1b 34763 /usr/lib/libsystrim.so.3.0.0 f7f7b000-f7f7c000 rw-p 00003000 b3:1b 34763 /usr/lib/libsystrim.so.3.0.0 f7f7c000-f7f96000 r-xp 00000000 b3:1b 4594 /lib/ld-2.31.so f7f9f000-f7fa3000 rw-p 00000000 00:00 0 f7fa3000-f7fa4000 r--p 00000000 00:00 0 [vvar] f7fa4000-f7fa5000 r-xp 00000000 00:00 0 [vdso] f7fa5000-f7fa6000 r--p 00019000 b3:1b 4594 /lib/ld-2.31.so f7fa6000-f7fa7000 rw-p 0001a000 b3:1b 4594 /lib/ld-2.31.so ffadf000-ffb00000 rw-p 00000000 00:00 0 [stack] ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors] ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors] [/mnt/ExtData/ezpatch/clean/ezinject.c:639] [DEBG] br_size=636 [/mnt/ExtData/ezpatch/clean/ezinject.c:640] [DEBG] code_size=1492 [/mnt/ExtData/ezpatch/clean/ezinject.c:641] [DEBG] stack_offset=2128 [/mnt/ExtData/ezpatch/clean/ezinject.c:642] [DEBG] mapping_size=2101248 [/mnt/ExtData/ezpatch/clean/ezinject.c:594] [DEBG] br->libc_dlopen=0xf73083c5 [/mnt/ExtData/ezpatch/clean/ezinject.c:596] [DEBG] br->libc_syscall=0xf72e2721 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:165] [DEBG] dataLength: 276 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x986024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x9860dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xff8834a0 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 1937 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:244] [DEBG] call->libc_mmap=0xf72e2811 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x986064 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x9860dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xff8834a0 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = -1 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:244] [DEBG] call->libc_mmap=(nil) [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x986024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x9860dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xff8834a0 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = -261099520 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/ezinject.c:758] [DEBG] remote payload base: 0xf06ff000 [/mnt/ExtData/ezpatch/clean/os/linux/inject.c:45] [INFO] exporting payload to /tmp/ezplcWhkvD [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:254] [DEBG] call->libc_open=0xf72d9759 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x9860a4 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x9860dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xff8834a0 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 14 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/linux/inject.c:109] [DEBG] remote fd: 14 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:260] [DEBG] call->libc_read=0xf72d9ac1 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x9860b8 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x9860dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xff8834a0 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 2101248 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x986024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x9860dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xff8834a0 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 0 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:244] [DEBG] call->libc_mmap=(nil) [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x986024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x9860dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xff8834a0 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = -141656064 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:165] [DEBG] dataLength: 276 [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xf08ffff8 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 11 (Segmentation fault) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 11 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 0 [/mnt/ExtData/ezpatch/clean/ezinject.c:820] [DEBG] RSCALL0(ctx, PL_REMOTE(ctx, pl->br_start)) = 0 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0xf78e8024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0xf78e80dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xff8834a0 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 0 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/linux/inject.c:131] [DEBG] RSCALL2(ctx, __NR_munmap, ctx->mapped_mem.remote, br->mapping_size) = 0 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:165] [DEBG] dataLength: 276 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x986024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x9860dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xff8834a0 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 0 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/ezinject.c:919] [INFO] detaching...

ezinject-micomservice.log

[/mnt/ExtData/ezpatch/clean/ezinject.c:884] [INFO] Attaching to 1247 [/mnt/ExtData/ezpatch/clean/ezinject.c:891] [INFO] waiting for target to stop... [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 19 (Stopped (signal)) [/mnt/ExtData/ezpatch/clean/ezinject.c:374] [INFO] Looking up libc.so.6 [/mnt/ExtData/ezpatch/clean/ezinject.c:380] [DEBG] libc.remote=0xf7918000 [/mnt/ExtData/ezpatch/clean/ezinject.c:381] [DEBG] libc.local=0xf76c7000 [/mnt/ExtData/ezpatch/clean/ezinject.c:408] [DEBG] libdl.local=0xf77bf000 [/mnt/ExtData/ezpatch/clean/ezinject.c:409] [DEBG] libdl.remote=0xf7870000 [/mnt/ExtData/ezpatch/clean/ezinject.c:413] [DEBG] dlopen offset: 0xeed [/mnt/ExtData/ezpatch/clean/ezinject.c:418] [DEBG] dlclose offset: 0xf5d [/mnt/ExtData/ezpatch/clean/ezinject.c:423] [DEBG] dlsym offset: 0xfb1 [/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:55] [DEBG] ctx->libc_mmap.remote=0xf79b0811 [/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:56] [DEBG] ctx->libc_open.remote=0xf79a7759 [/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:57] [DEBG] ctx->libc_read.remote=0xf79a7ac1 [/mnt/ExtData/ezpatch/clean/ezinject.c:439] [DEBG] ctx->libc_syscall.local=0xf775f721 [/mnt/ExtData/ezpatch/clean/ezinject.c:439] [DEBG] ctx->libc_syscall.remote=0xf79b0721 00010000-00018000 r-xp 00000000 b3:3b 12540 /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject 00027000-00028000 r--p 00007000 b3:3b 12540 /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject 00028000-00029000 rw-p 00008000 b3:3b 12540 /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject 00726000-00747000 rw-p 00000000 00:00 0 [heap] f63c7000-f63c8000 ---p 00000000 00:00 0 f63c8000-f6bc8000 rw-p 00000000 00:00 0 f6bc8000-f6bc9000 ---p 00000000 00:00 0 f6bc9000-f74ca000 rw-p 00000000 00:00 0 f74ca000-f74d2000 r-xp 00000000 b3:1b 34817 /usr/lib/libunwind.so.8.0.1 f74d2000-f74e2000 ---p 00008000 b3:1b 34817 /usr/lib/libunwind.so.8.0.1 f74e2000-f74e3000 r--p 00008000 b3:1b 34817 /usr/lib/libunwind.so.8.0.1 f74e3000-f74e4000 rw-p 00009000 b3:1b 34817 /usr/lib/libunwind.so.8.0.1 f74e4000-f74fd000 rw-p 00000000 00:00 0 f74fd000-f754a000 r-xp 00000000 b3:1b 34591 /usr/lib/libpcre.so.1.2.12 f754a000-f7559000 ---p 0004d000 b3:1b 34591 /usr/lib/libpcre.so.1.2.12 f7559000-f755a000 r--p 0004c000 b3:1b 34591 /usr/lib/libpcre.so.1.2.12 f755a000-f755b000 rw-p 0004d000 b3:1b 34591 /usr/lib/libpcre.so.1.2.12 f755b000-f7567000 r-xp 00000000 b3:1b 34809 /usr/lib/libunwind-arm.so.8.0.1 f7567000-f7576000 ---p 0000c000 b3:1b 34809 /usr/lib/libunwind-arm.so.8.0.1 f7576000-f7577000 r--p 0000b000 b3:1b 34809 /usr/lib/libunwind-arm.so.8.0.1 f7577000-f7578000 rw-p 0000c000 b3:1b 34809 /usr/lib/libunwind-arm.so.8.0.1 f7578000-f7591000 rw-p 00000000 00:00 0 f7591000-f75aa000 r-xp 00000000 b3:1b 4622 /lib/libgcc_s.so.1 f75aa000-f75b9000 ---p 00019000 b3:1b 4622 /lib/libgcc_s.so.1 f75b9000-f75ba000 r--p 00018000 b3:1b 4622 /lib/libgcc_s.so.1 f75ba000-f75bb000 rw-p 00019000 b3:1b 4622 /lib/libgcc_s.so.1 f75bb000-f7690000 r-xp 00000000 b3:1b 34234 /usr/lib/libglib-2.0.so.0.6200.6 f7690000-f769f000 ---p 000d5000 b3:1b 34234 /usr/lib/libglib-2.0.so.0.6200.6 f769f000-f76a0000 r--p 000d4000 b3:1b 34234 /usr/lib/libglib-2.0.so.0.6200.6 f76a0000-f76a1000 rw-p 000d5000 b3:1b 34234 /usr/lib/libglib-2.0.so.0.6200.6 f76a1000-f76b4000 r-xp 00000000 b3:1b 4646 /lib/libpthread-2.31.so f76b4000-f76c3000 ---p 00013000 b3:1b 4646 /lib/libpthread-2.31.so f76c3000-f76c4000 r--p 00012000 b3:1b 4646 /lib/libpthread-2.31.so f76c4000-f76c5000 rw-p 00013000 b3:1b 4646 /lib/libpthread-2.31.so f76c5000-f76c7000 rw-p 00000000 00:00 0 f76c7000-f77aa000 r-xp 00000000 b3:1b 4604 /lib/libc-2.31.so f77aa000-f77b9000 ---p 000e3000 b3:1b 4604 /lib/libc-2.31.so f77b9000-f77bb000 r--p 000e2000 b3:1b 4604 /lib/libc-2.31.so f77bb000-f77bd000 rw-p 000e4000 b3:1b 4604 /lib/libc-2.31.so f77bd000-f77bf000 rw-p 00000000 00:00 0 f77bf000-f77c2000 r-xp 00000000 b3:1b 4612 /lib/libdl-2.31.so f77c2000-f77d1000 ---p 00003000 b3:1b 4612 /lib/libdl-2.31.so f77d1000-f77d2000 r--p 00002000 b3:1b 4612 /lib/libdl-2.31.so f77d2000-f77d3000 rw-p 00003000 b3:1b 4612 /lib/libdl-2.31.so f77e2000-f77e5000 r-xp 00000000 b3:1b 4598 /lib/libSegFault.so f77e5000-f77f4000 ---p 00003000 b3:1b 4598 /lib/libSegFault.so f77f4000-f77f5000 r--p 00002000 b3:1b 4598 /lib/libSegFault.so f77f5000-f77f6000 rw-p 00003000 b3:1b 4598 /lib/libSegFault.so f77f6000-f77f9000 r-xp 00000000 b3:1b 34763 /usr/lib/libsystrim.so.3.0.0 f77f9000-f7808000 ---p 00003000 b3:1b 34763 /usr/lib/libsystrim.so.3.0.0 f7808000-f7809000 r--p 00002000 b3:1b 34763 /usr/lib/libsystrim.so.3.0.0 f7809000-f780a000 rw-p 00003000 b3:1b 34763 /usr/lib/libsystrim.so.3.0.0 f780a000-f7824000 r-xp 00000000 b3:1b 4594 /lib/ld-2.31.so f782d000-f7831000 rw-p 00000000 00:00 0 f7831000-f7832000 r--p 00000000 00:00 0 [vvar] f7832000-f7833000 r-xp 00000000 00:00 0 [vdso] f7833000-f7834000 r--p 00019000 b3:1b 4594 /lib/ld-2.31.so f7834000-f7835000 rw-p 0001a000 b3:1b 4594 /lib/ld-2.31.so ff9dd000-ff9fe000 rw-p 00000000 00:00 0 [stack] ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors] ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors] [/mnt/ExtData/ezpatch/clean/ezinject.c:639] [DEBG] br_size=640 [/mnt/ExtData/ezpatch/clean/ezinject.c:640] [DEBG] code_size=1492 [/mnt/ExtData/ezpatch/clean/ezinject.c:641] [DEBG] stack_offset=2132 [/mnt/ExtData/ezpatch/clean/ezinject.c:642] [DEBG] mapping_size=2101248 [/mnt/ExtData/ezpatch/clean/ezinject.c:594] [DEBG] br->libc_dlopen=0xf79d63c5 [/mnt/ExtData/ezpatch/clean/ezinject.c:596] [DEBG] br->libc_syscall=0xf79b0721 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:165] [DEBG] dataLength: 276 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x6a6024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x6a60dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xffb54960 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 1247 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:244] [DEBG] call->libc_mmap=0xf79b0811 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x6a6064 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x6a60dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xffb54960 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = -1 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:244] [DEBG] call->libc_mmap=(nil) [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x6a6024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x6a60dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xffb54960 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = -208670720 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/ezinject.c:758] [DEBG] remote payload base: 0xf38ff000 [/mnt/ExtData/ezpatch/clean/os/linux/inject.c:45] [INFO] exporting payload to /tmp/ezpl4hWJps [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:254] [DEBG] call->libc_open=0xf79a7759 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x6a60a4 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x6a60dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xffb54960 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 9 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/linux/inject.c:109] [DEBG] remote fd: 9 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:260] [DEBG] call->libc_read=0xf79a7ac1 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x6a60b8 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x6a60dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xffb54960 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 2101248 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x6a6024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x6a60dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xffb54960 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 0 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:244] [DEBG] call->libc_mmap=(nil) [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x6a6024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x6a60dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xffb54960 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = -136335360 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:165] [DEBG] dataLength: 276 [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xf3affff8 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 11 (Segmentation fault) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 11 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 0 [/mnt/ExtData/ezpatch/clean/ezinject.c:820] [DEBG] RSCALL0(ctx, PL_REMOTE(ctx, pl->br_start)) = 0 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0xf7dfb024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0xf7dfb0dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xffb54960 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 0 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/os/linux/inject.c:131] [DEBG] RSCALL2(ctx, __NR_munmap, ctx->mapped_mem.remote, br->mapping_size) = 0 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:165] [DEBG] dataLength: 276 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x6a6024 [/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x6a60dc [/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0xffb54960 [/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 5 (Trace/breakpoint trap) [/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 5 [/mnt/ExtData/ezpatch/clean/ezinject.c:293] [DEBG] [RET] = 0 [/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data [/mnt/ExtData/ezpatch/clean/ezinject.c:919] [INFO] detaching...

hokfactory

hf HookFactory2 newHook pvCode1 pvCode2 pfnOrig handle pvHook handle done

Originally posted by @reivajpg in #4 (comment)

@Simon34545
Copy link
Owner

Since this is an old issue, can you or anyone else confirm that this is still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants