frida icon indicating copy to clipboard operation
frida copied to clipboard

writeByteArray offset bits

Open OwnerCM opened this issue 2 years ago • 1 comments

Hello, I encountered a problem when using retval.writeByteArray(arr) in the onLeave event. The header byte of retval changes every day, so the value of arr needs to be modified when executing Hook for the first time every day. So I would like to ask if the writeByteArray function can replace from a certain offset position of the retval. If this function does not exist now, will it be considered to implement it later? Thank you for providing such a good tool!

OwnerCM avatar Sep 20 '23 01:09 OwnerCM

retval.add(8).writeByteArray(arr);

j4k0xb avatar Sep 04 '24 04:09 j4k0xb