Simon34545 / lginputhook

Allows for remapping remote buttons on LG WebOS TVs.
BSD 3-Clause "New" or "Revised" License
55 stars 2 forks source link

No Buttons appearing in logs and remap not working #4

Closed bernikr closed 1 year ago

bernikr commented 1 year ago

I've just rooted my TV and installed this tool, but for some reason it is not working.

Model: 55UN71003LB WebOS: 5.4.1-903

I'm using an IR remote that is similar to the one from the readme, but some buttons have different markings (for example the two topmost buttons to the right are swapped (input and TV/RAD))

Because im using WebOS 5.x and an IR remote I tried to use the micomservice logs, but pressing buttons on the remote leaves no changes there.

lginput-hook-micomservice.log

Reloading keybinds...
Keybinds reloaded.

hookfactory-micomservice.log

hf
HookFactory2

ezinject-micomservice.log

[/mnt/ExtData/ezpatch/clean/ezinject.c:884] [INFO] Attaching to 2236
[/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=0x96b17000
[/mnt/ExtData/ezpatch/clean/ezinject.c:381] [DEBG] libc.local=0x96dd2000
[/mnt/ExtData/ezpatch/clean/ezinject.c:408] [DEBG] libdl.local=0x96eae000
[/mnt/ExtData/ezpatch/clean/ezinject.c:409] [DEBG] libdl.remote=0x96a86000
[/mnt/ExtData/ezpatch/clean/ezinject.c:413] [DEBG] dlopen offset: 0xcb5
[/mnt/ExtData/ezpatch/clean/ezinject.c:418] [DEBG] dlclose offset: 0xd19
[/mnt/ExtData/ezpatch/clean/ezinject.c:423] [DEBG] dlsym offset: 0xd6f
[/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:55] [DEBG] ctx->libc_mmap.remote=0x96b956f9
[/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:56] [DEBG] ctx->libc_open.remote=0x96b8d539
[/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:57] [DEBG] ctx->libc_read.remote=0x96b8d895
[/mnt/ExtData/ezpatch/clean/ezinject.c:439] [DEBG] ctx->libc_syscall.local=0x96e50611
[/mnt/ExtData/ezpatch/clean/ezinject.c:439] [DEBG] ctx->libc_syscall.remote=0x96b95611
00010000-00018000 r-xp 00000000 b3:3b 77173      /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject
00027000-00028000 r--p 00007000 b3:3b 77173      /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject
00028000-00029000 rw-p 00008000 b3:3b 77173      /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject
008fa000-0091b000 rw-p 00000000 00:00 0          [heap]
95af4000-95af5000 ---p 00000000 00:00 0 
95af5000-962f5000 rw-p 00000000 00:00 0 
962f5000-962f6000 ---p 00000000 00:00 0 
962f6000-96bf7000 rw-p 00000000 00:00 0 
96bf7000-96bfe000 r-xp 00000000 b3:1b 8011       /usr/lib/libunwind.so.8.0.1
96bfe000-96c0d000 ---p 00007000 b3:1b 8011       /usr/lib/libunwind.so.8.0.1
96c0d000-96c0e000 r--p 00006000 b3:1b 8011       /usr/lib/libunwind.so.8.0.1
96c0e000-96c0f000 rw-p 00007000 b3:1b 8011       /usr/lib/libunwind.so.8.0.1
96c0f000-96c34000 rw-p 00000000 00:00 0 
96c34000-96c62000 r-xp 00000000 b3:1b 7804       /usr/lib/libpcre.so.1.2.10
96c62000-96c71000 ---p 0002e000 b3:1b 7804       /usr/lib/libpcre.so.1.2.10
96c71000-96c72000 r--p 0002d000 b3:1b 7804       /usr/lib/libpcre.so.1.2.10
96c72000-96c73000 rw-p 0002e000 b3:1b 7804       /usr/lib/libpcre.so.1.2.10
96c73000-96c7b000 r-xp 00000000 b3:1b 8003       /usr/lib/libunwind-arm.so.8.0.1
96c7b000-96c8a000 ---p 00008000 b3:1b 8003       /usr/lib/libunwind-arm.so.8.0.1
96c8a000-96c8b000 r--p 00007000 b3:1b 8003       /usr/lib/libunwind-arm.so.8.0.1
96c8b000-96c8c000 rw-p 00008000 b3:1b 8003       /usr/lib/libunwind-arm.so.8.0.1
96c8c000-96cb1000 rw-p 00000000 00:00 0 
96cb1000-96cca000 r-xp 00000000 b3:1b 4559       /lib/libgcc_s.so.1
96cca000-96cd9000 ---p 00019000 b3:1b 4559       /lib/libgcc_s.so.1
96cd9000-96cda000 r--p 00018000 b3:1b 4559       /lib/libgcc_s.so.1
96cda000-96cdb000 rw-p 00019000 b3:1b 4559       /lib/libgcc_s.so.1
96cdb000-96d9d000 r-xp 00000000 b3:1b 7404       /usr/lib/libglib-2.0.so.0.5800.0
96d9d000-96dac000 ---p 000c2000 b3:1b 7404       /usr/lib/libglib-2.0.so.0.5800.0
96dac000-96dad000 r--p 000c1000 b3:1b 7404       /usr/lib/libglib-2.0.so.0.5800.0
96dad000-96dae000 rw-p 000c2000 b3:1b 7404       /usr/lib/libglib-2.0.so.0.5800.0
96dae000-96dbf000 r-xp 00000000 b3:1b 4582       /lib/libpthread-2.28.so
96dbf000-96dce000 ---p 00011000 b3:1b 4582       /lib/libpthread-2.28.so
96dce000-96dcf000 r--p 00010000 b3:1b 4582       /lib/libpthread-2.28.so
96dcf000-96dd0000 rw-p 00011000 b3:1b 4582       /lib/libpthread-2.28.so
96dd0000-96dd2000 rw-p 00000000 00:00 0 
96dd2000-96e98000 r-xp 00000000 b3:1b 4543       /lib/libc-2.28.so
96e98000-96ea8000 ---p 000c6000 b3:1b 4543       /lib/libc-2.28.so
96ea8000-96eaa000 r--p 000c6000 b3:1b 4543       /lib/libc-2.28.so
96eaa000-96eab000 rw-p 000c8000 b3:1b 4543       /lib/libc-2.28.so
96eab000-96eae000 rw-p 00000000 00:00 0 
96eae000-96eb1000 r-xp 00000000 b3:1b 4549       /lib/libdl-2.28.so
96eb1000-96ec0000 ---p 00003000 b3:1b 4549       /lib/libdl-2.28.so
96ec0000-96ec1000 r--p 00002000 b3:1b 4549       /lib/libdl-2.28.so
96ec1000-96ec2000 rw-p 00003000 b3:1b 4549       /lib/libdl-2.28.so
96ed0000-96ed3000 r-xp 00000000 b3:1b 4533       /lib/libSegFault.so
96ed3000-96ee2000 ---p 00003000 b3:1b 4533       /lib/libSegFault.so
96ee2000-96ee3000 r--p 00002000 b3:1b 4533       /lib/libSegFault.so
96ee3000-96ee4000 rw-p 00003000 b3:1b 4533       /lib/libSegFault.so
96ee4000-96ee7000 r-xp 00000000 b3:1b 7958       /usr/lib/libsystrim.so.3.0.0
96ee7000-96ef6000 ---p 00003000 b3:1b 7958       /usr/lib/libsystrim.so.3.0.0
96ef6000-96ef7000 r--p 00002000 b3:1b 7958       /usr/lib/libsystrim.so.3.0.0
96ef7000-96ef8000 rw-p 00003000 b3:1b 7958       /usr/lib/libsystrim.so.3.0.0
96ef8000-96f0e000 r-xp 00000000 b3:1b 4529       /lib/ld-2.28.so
96f19000-96f1d000 rw-p 00000000 00:00 0 
96f1d000-96f1e000 r--p 00015000 b3:1b 4529       /lib/ld-2.28.so
96f1e000-96f1f000 rw-p 00016000 b3:1b 4529       /lib/ld-2.28.so
9e9df000-9ea00000 rw-p 00000000 00:00 0          [stack]
9eb26000-9eb27000 r-xp 00000000 00:00 0          [sigpage]
9eb27000-9eb28000 r--p 00000000 00:00 0          [vvar]
9eb28000-9eb29000 r-xp 00000000 00:00 0          [vdso]
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=628
[/mnt/ExtData/ezpatch/clean/ezinject.c:640] [DEBG] code_size=1492
[/mnt/ExtData/ezpatch/clean/ezinject.c:641] [DEBG] stack_offset=2120
[/mnt/ExtData/ezpatch/clean/ezinject.c:642] [DEBG] mapping_size=2101248
[/mnt/ExtData/ezpatch/clean/ezinject.c:594] [DEBG] br->libc_dlopen=0x96bb8785
[/mnt/ExtData/ezpatch/clean/ezinject.c:596] [DEBG] br->libc_syscall=0x96b95611
[/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=0x4c2024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4c20dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e9a3410
[/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] = 2236
[/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:244] [DEBG] call->libc_mmap=0x96b956f9
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x4c2064
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4c20dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e9a3410
[/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=0x4c2024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4c20dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e9a3410
[/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] = -1833963520
[/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data
[/mnt/ExtData/ezpatch/clean/ezinject.c:758] [DEBG] remote payload base: 0x92aff000
[/mnt/ExtData/ezpatch/clean/os/linux/inject.c:45] [INFO] exporting payload to /tmp/ezplEhJk0t
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:254] [DEBG] call->libc_open=0x96b8d539
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x4c20a4
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4c20dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e9a3410
[/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] = 10
[/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data
[/mnt/ExtData/ezpatch/clean/os/linux/inject.c:109] [DEBG] remote fd: 10
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:260] [DEBG] call->libc_read=0x96b8d895
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x4c20b8
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4c20dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e9a3410
[/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=0x4c2024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4c20dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e9a3410
[/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=0x4c2024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4c20dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e9a3410
[/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] = -1762226176
[/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)=0x92cffff8
[/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 4 (Illegal instruction)
[/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 4
[/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=0x96f69024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x96f690dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e9a3410
[/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=0x4c2024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4c20dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e9a3410
[/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...
Simon34545 commented 1 year ago

do the button presses appear in any other locations?

bernikr commented 1 year ago

No all other logs are either not existing or also don't contain them. Also which of the 3 logs should have the button presses in them?

lginput-hook-RELEASE.log

ENOENT /tmp/lginput-hook-RELEASE.log

hookfactory-RELEASE.log

ENOENT /tmp/hookfactory-RELEASE.log

ezinject-RELEASE.log

ENOENT /tmp/ezinject-RELEASE.log

lginput-hook-tvservice.log

ENOENT /tmp/lginput-hook-tvservice.log

hookfactory-tvservice.log

ENOENT /tmp/hookfactory-tvservice.log

ezinject-tvservice.log

ENOENT /tmp/ezinject-tvservice.log

lginput-hook-lginput2.log

Reloading keybinds...
Keybinds reloaded.

hookfactory-lginput2.log

hf
HookFactory2
newHook
pvCode1
pvCode2
pfnOrig
handle
pvHook
handle
done

ezinject-lginput2.log

[/mnt/ExtData/ezpatch/clean/ezinject.c:884] [INFO] Attaching to 2830
[/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=0x969a0000
[/mnt/ExtData/ezpatch/clean/ezinject.c:381] [DEBG] libc.local=0x96e86000
[/mnt/ExtData/ezpatch/clean/ezinject.c:408] [DEBG] libdl.local=0x96f62000
[/mnt/ExtData/ezpatch/clean/ezinject.c:409] [DEBG] libdl.remote=0x96e89000
[/mnt/ExtData/ezpatch/clean/ezinject.c:413] [DEBG] dlopen offset: 0xcb5
[/mnt/ExtData/ezpatch/clean/ezinject.c:418] [DEBG] dlclose offset: 0xd19
[/mnt/ExtData/ezpatch/clean/ezinject.c:423] [DEBG] dlsym offset: 0xd6f
[/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:55] [DEBG] ctx->libc_mmap.remote=0x96a1e6f9
[/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:56] [DEBG] ctx->libc_open.remote=0x96a16539
[/mnt/ExtData/ezpatch/clean/os/linux/libc_glibc.c:57] [DEBG] ctx->libc_read.remote=0x96a16895
[/mnt/ExtData/ezpatch/clean/ezinject.c:439] [DEBG] ctx->libc_syscall.local=0x96f04611
[/mnt/ExtData/ezpatch/clean/ezinject.c:439] [DEBG] ctx->libc_syscall.remote=0x96a1e611
00010000-00018000 r-xp 00000000 b3:3b 77173      /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject
00027000-00028000 r--p 00007000 b3:3b 77173      /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject
00028000-00029000 rw-p 00008000 b3:3b 77173      /media/developer/apps/usr/palm/services/org.webosbrew.inputhook.service/inputhook/ezinject
00583000-005a4000 rw-p 00000000 00:00 0          [heap]
95ba8000-95ba9000 ---p 00000000 00:00 0 
95ba9000-963a9000 rw-p 00000000 00:00 0 
963a9000-963aa000 ---p 00000000 00:00 0 
963aa000-96cab000 rw-p 00000000 00:00 0 
96cab000-96cb2000 r-xp 00000000 b3:1b 8011       /usr/lib/libunwind.so.8.0.1
96cb2000-96cc1000 ---p 00007000 b3:1b 8011       /usr/lib/libunwind.so.8.0.1
96cc1000-96cc2000 r--p 00006000 b3:1b 8011       /usr/lib/libunwind.so.8.0.1
96cc2000-96cc3000 rw-p 00007000 b3:1b 8011       /usr/lib/libunwind.so.8.0.1
96cc3000-96ce8000 rw-p 00000000 00:00 0 
96ce8000-96d16000 r-xp 00000000 b3:1b 7804       /usr/lib/libpcre.so.1.2.10
96d16000-96d25000 ---p 0002e000 b3:1b 7804       /usr/lib/libpcre.so.1.2.10
96d25000-96d26000 r--p 0002d000 b3:1b 7804       /usr/lib/libpcre.so.1.2.10
96d26000-96d27000 rw-p 0002e000 b3:1b 7804       /usr/lib/libpcre.so.1.2.10
96d27000-96d2f000 r-xp 00000000 b3:1b 8003       /usr/lib/libunwind-arm.so.8.0.1
96d2f000-96d3e000 ---p 00008000 b3:1b 8003       /usr/lib/libunwind-arm.so.8.0.1
96d3e000-96d3f000 r--p 00007000 b3:1b 8003       /usr/lib/libunwind-arm.so.8.0.1
96d3f000-96d40000 rw-p 00008000 b3:1b 8003       /usr/lib/libunwind-arm.so.8.0.1
96d40000-96d65000 rw-p 00000000 00:00 0 
96d65000-96d7e000 r-xp 00000000 b3:1b 4559       /lib/libgcc_s.so.1
96d7e000-96d8d000 ---p 00019000 b3:1b 4559       /lib/libgcc_s.so.1
96d8d000-96d8e000 r--p 00018000 b3:1b 4559       /lib/libgcc_s.so.1
96d8e000-96d8f000 rw-p 00019000 b3:1b 4559       /lib/libgcc_s.so.1
96d8f000-96e51000 r-xp 00000000 b3:1b 7404       /usr/lib/libglib-2.0.so.0.5800.0
96e51000-96e60000 ---p 000c2000 b3:1b 7404       /usr/lib/libglib-2.0.so.0.5800.0
96e60000-96e61000 r--p 000c1000 b3:1b 7404       /usr/lib/libglib-2.0.so.0.5800.0
96e61000-96e62000 rw-p 000c2000 b3:1b 7404       /usr/lib/libglib-2.0.so.0.5800.0
96e62000-96e73000 r-xp 00000000 b3:1b 4582       /lib/libpthread-2.28.so
96e73000-96e82000 ---p 00011000 b3:1b 4582       /lib/libpthread-2.28.so
96e82000-96e83000 r--p 00010000 b3:1b 4582       /lib/libpthread-2.28.so
96e83000-96e84000 rw-p 00011000 b3:1b 4582       /lib/libpthread-2.28.so
96e84000-96e86000 rw-p 00000000 00:00 0 
96e86000-96f4c000 r-xp 00000000 b3:1b 4543       /lib/libc-2.28.so
96f4c000-96f5c000 ---p 000c6000 b3:1b 4543       /lib/libc-2.28.so
96f5c000-96f5e000 r--p 000c6000 b3:1b 4543       /lib/libc-2.28.so
96f5e000-96f5f000 rw-p 000c8000 b3:1b 4543       /lib/libc-2.28.so
96f5f000-96f62000 rw-p 00000000 00:00 0 
96f62000-96f65000 r-xp 00000000 b3:1b 4549       /lib/libdl-2.28.so
96f65000-96f74000 ---p 00003000 b3:1b 4549       /lib/libdl-2.28.so
96f74000-96f75000 r--p 00002000 b3:1b 4549       /lib/libdl-2.28.so
96f75000-96f76000 rw-p 00003000 b3:1b 4549       /lib/libdl-2.28.so
96f84000-96f87000 r-xp 00000000 b3:1b 4533       /lib/libSegFault.so
96f87000-96f96000 ---p 00003000 b3:1b 4533       /lib/libSegFault.so
96f96000-96f97000 r--p 00002000 b3:1b 4533       /lib/libSegFault.so
96f97000-96f98000 rw-p 00003000 b3:1b 4533       /lib/libSegFault.so
96f98000-96f9b000 r-xp 00000000 b3:1b 7958       /usr/lib/libsystrim.so.3.0.0
96f9b000-96faa000 ---p 00003000 b3:1b 7958       /usr/lib/libsystrim.so.3.0.0
96faa000-96fab000 r--p 00002000 b3:1b 7958       /usr/lib/libsystrim.so.3.0.0
96fab000-96fac000 rw-p 00003000 b3:1b 7958       /usr/lib/libsystrim.so.3.0.0
96fac000-96fc2000 r-xp 00000000 b3:1b 4529       /lib/ld-2.28.so
96fcd000-96fd1000 rw-p 00000000 00:00 0 
96fd1000-96fd2000 r--p 00015000 b3:1b 4529       /lib/ld-2.28.so
96fd2000-96fd3000 rw-p 00016000 b3:1b 4529       /lib/ld-2.28.so
9e983000-9e9a4000 rw-p 00000000 00:00 0          [stack]
9efb3000-9efb4000 r-xp 00000000 00:00 0          [sigpage]
9efb4000-9efb5000 r--p 00000000 00:00 0          [vvar]
9efb5000-9efb6000 r-xp 00000000 00:00 0          [vdso]
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=624
[/mnt/ExtData/ezpatch/clean/ezinject.c:640] [DEBG] code_size=1492
[/mnt/ExtData/ezpatch/clean/ezinject.c:641] [DEBG] stack_offset=2116
[/mnt/ExtData/ezpatch/clean/ezinject.c:642] [DEBG] mapping_size=2101248
[/mnt/ExtData/ezpatch/clean/ezinject.c:594] [DEBG] br->libc_dlopen=0x96a41785
[/mnt/ExtData/ezpatch/clean/ezinject.c:596] [DEBG] br->libc_syscall=0x96a1e611
[/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=0x488024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4880dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e8e0500
[/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] = 2830
[/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:244] [DEBG] call->libc_mmap=0x96a1e6f9
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x488064
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4880dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e8e0500
[/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=0x488024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4880dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e8e0500
[/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] = -1846546432
[/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data
[/mnt/ExtData/ezpatch/clean/ezinject.c:758] [DEBG] remote payload base: 0x91eff000
[/mnt/ExtData/ezpatch/clean/os/linux/inject.c:45] [INFO] exporting payload to /tmp/ezplfdryuv
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:254] [DEBG] call->libc_open=0x96a16539
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x4880a4
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4880dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e8e0500
[/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] = 32
[/mnt/ExtData/ezpatch/clean/ezinject.c:306] [DEBG] restoring stack data
[/mnt/ExtData/ezpatch/clean/os/linux/inject.c:109] [DEBG] remote fd: 32
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:260] [DEBG] call->libc_read=0x96a16895
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:281] [DEBG] call->wrapper.target=0x4880b8
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4880dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e8e0500
[/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=0x488024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4880dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e8e0500
[/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=0x488024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4880dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e8e0500
[/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] = -1762824192
[/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)=0x920ffff8
[/mnt/ExtData/ezpatch/clean/os/posix/remote.c:41] [DEBG] got signal: 4 (Illegal instruction)
[/mnt/ExtData/ezpatch/clean/ezinject.c:259] [DEBG] signal: 4
[/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=0x96ed7024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x96ed70dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e8e0500
[/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=0x488024
[/mnt/ExtData/ezpatch/clean/os/posix/inject.c:285] [DEBG] call->trampoline.fn_addr=0x4880dc
[/mnt/ExtData/ezpatch/clean/ezinject.c:193] [DEBG] (void *)REG(*new_ctx, REG_SP)=0x9e8e0500
[/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...
Simon34545 commented 1 year ago

Oh, I've just remembered that micomservice uses different symbol than RELEASE/tvservice. This came up during development but since I don't have a WebOS 5 tv or board to test it on, I forgot about it... I think I'll ask the authors of the original input hook if they know which symbol it uses.

cafissimo commented 1 year ago

Hello, I am facing exactly the same issue, with webOS 5.30-2204. Can I help in some way? Please, can you share an ETA? Thanks

Simon34545 commented 1 year ago

@cafissimo Do you have Discord? I could send you some ipks to test when I finally fix this, which shouldn't be long now that I have a copy of micomservice (the IR remote input service on webos 5.x and up)

You can join the openlgtv Discord server here https://discord.gg/MccFXuK7Wx which is where im most active (simon.#1842)

Simon34545 commented 1 year ago

This has been fixed for webOS 5 and 6 I think, but it's currently broken for webOS 7... Once this gets fixed I will release for it.

Simon34545 commented 1 year ago

@cafissimo @bernikr I've released a fix for this, can you confirm that it works?

cafissimo commented 1 year ago

Yes, it's working.

Luca Caldiero

@.***

Il lun 13 mar 2023, 01:45 simon_34545 @.***> ha scritto:

@cafissimo https://github.com/cafissimo @bernikr https://github.com/bernikr I've released a fix for this, can you confirm that it works?

— Reply to this email directly, view it on GitHub https://github.com/Simon34545/lginputhook/issues/4#issuecomment-1465351258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2VWOBYUKBJTHZAVCRO5NTW3Z35DANCNFSM6AAAAAAUFUWRIE . You are receiving this because you were mentioned.Message ID: @.***>

Simon34545 commented 1 year ago

i think its safe to close this issue now...

bernikr commented 1 year ago

I can also confirm that it is working now

reivajpg commented 1 year ago

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

lompaket commented 3 months ago

I have the same problem on webos 05.40.20

FunnyROGER2 commented 1 month ago

And the same problem on 05.40.45