What's new:
- Fix: load pair of registers (arm64)
Install:
dpkg -i path/to/pptool_1.7_ARCH.deb
Uninstall:
dpkg -r pptool
Usage:
pptool [-h] [-v] [-c] [-d] [-p PATCH] [-t TARGET] [-f] libapp offset [offset ...]
Examples:
[Basic Search] pptool path/to/libapp.so 0x8880
[Multiple Search] pptool path/to/libapp.so 0x8880 0xad98 0xdac0
[Basic Replacement] pptool path/to/libapp.so 0x8880 -p 0xedf0
[Targeted Replacement] pptool -p 0xedf0 -t 0x12345 -t 0x23456 path/to/libapp.so 0x8880
About the results displayed:
---------- pp+0xedf0 ----------
FUNCTION OBJECT OFFSET
・1 0x3f4e04 0x3f4e94 0x90
add x17, x27, 0xe, lsl 12
ldr x17, [x17, 0xdf0]
Colomn FUNCTION: adresss of the function loading the dart object
Colomn OBjECT: loading adress of the dart object
Colomn OFFSET: difference between first and second
Displaying disassembly
Download Instructions:
● pptool_1.7_arm.deb (63 KB):
devuploads
mega4upload
● pptool_1.7_aarch64.deb (67 KB):
devuploads
mega4upload
- Fix: load pair of registers (arm64)
Install:
dpkg -i path/to/pptool_1.7_ARCH.deb
Uninstall:
dpkg -r pptool
Usage:
pptool [-h] [-v] [-c] [-d] [-p PATCH] [-t TARGET] [-f] libapp offset [offset ...]
Two positionnal arguments:
libapp: path to libapp.so
offset: pool pointer offset to be searched (can be multiple)
sequence of prefixed "0x" hex strings
Options:
-c use default color
-d don't display disassembly but only addresses and offset
-h, --help show help message and exit
-v, --version show program's version number and exit
Patch options:
-p PATCH, --patch PATCH
specify a pool pointer offset for replacement
prefixed "0x" hex string
the offset argument must have a single element
arm: 0x6 < offset < 0x100000 ; offset mod 4 = 3
arm64: 0xf < offset < 0x1000000 ; offset mod 8 = 0
-t TARGET, --target TARGET
specify an address to apply the change to
(all those that match by default)
must be used for each targeted address
-f overwrite the library othewise create libapp-mod.so
Each option can be placed either before or after the positional arguments.
Examples:
[Basic Search] pptool path/to/libapp.so 0x8880
[Multiple Search] pptool path/to/libapp.so 0x8880 0xad98 0xdac0
[Basic Replacement] pptool path/to/libapp.so 0x8880 -p 0xedf0
[Targeted Replacement] pptool -p 0xedf0 -t 0x12345 -t 0x23456 path/to/libapp.so 0x8880
About the results displayed:
---------- pp+0xedf0 ----------
FUNCTION OBJECT OFFSET
・1 0x3f4e04 0x3f4e94 0x90
add x17, x27, 0xe, lsl 12
ldr x17, [x17, 0xdf0]
Colomn FUNCTION: adresss of the function loading the dart object
Colomn OBjECT: loading adress of the dart object
Colomn OFFSET: difference between first and second
Displaying disassembly
Download Instructions:
● pptool_1.7_arm.deb (63 KB):
devuploads
mega4upload
● pptool_1.7_aarch64.deb (67 KB):
devuploads
mega4upload