frida-rust icon indicating copy to clipboard operation
frida-rust copied to clipboard

expose frida-gum underlying writer object to allow users to use funct…

Open jejuisland87654 opened this issue 9 months ago • 3 comments

…ions that are not exposed in

jejuisland87654 avatar Mar 06 '25 17:03 jejuisland87654

I'll accept this... but I'd prefer we add all the missing methods, can you open a PR to do so?

s1341 avatar Mar 09 '25 04:03 s1341

@s1341

I added bindings for gum_arm64_writer_put_nop which is the main one I needed but there are dozens of functions for the writer and the stalker in Frida so I don't think it's realistic to add a wrapper for all of them...

jejuisland87654 avatar Mar 12 '25 11:03 jejuisland87654

I think we really should wrap them all....

s1341 avatar Mar 30 '25 05:03 s1341

@s1341 From a quick look seems there are 83 functions for the GumArm64Writer alone and 47 functions for the GumStalker, while some of them accept non-trivial parameters, so I think it's a bit out of the scope of this PR to wrap them all... any chance to merge the current change in the meantime?

jejuisland87654 avatar Apr 30 '25 13:04 jejuisland87654

Please open a new PR for the rest.

s1341 avatar May 05 '25 04:05 s1341