Hi!
This is my first binary kext patching so please bear with my lack of knowledge.
I have a kext I would like to modify - more precisely I would like to replace 2 methods defined inside it with my own. I was thinking creating my functions in assembly and just paste them inside kext to original functions positions. That would work if my function sizes was smaller or equal to origina which is not the case so I think I need to find a way to call my own methods located in new kext/modified kernel - re-routing calls to original methods with my own.
What is the way to go here? I am not asking for complete solution - just some pointers which direction to investigate. If there is an example available that would be great. Is it possible to use asm "call" to some other function defined somewhere else?
BR,
iostres
