Hello and welcome to a new section in this section we are going to look at in line patching again,
this technique is about how to create your own house without using any external libraries offering.
How does it work in this diagram here on the left?
He's our -- program.
And on the right, he's the target.
So the target in sight there is a function call, regional function, which we are going to hook.
So the first step is we need to somehow attach the hook to the target.
The hukou within safety or region address of this target function.
The reason he does that is because so that he can optionally revert revert the original function back
to its original state if he needs to.
He also suggested price of the original function for the same reason.
And then he will pitch in memory to replace this original function figure address.
Oh, our modified function.
So this is our money, if I can call my function now, then once the target executes and calls this
function, you execute our modified function instead of the original function, and optionally we can
revert the function back by copying back the address of the original function because we have already
safe the address here as well as the instruction, right?
So this is the simple, high level view explanation of how to do in line.
So that's all for.
VIDEO Next VIDEO We'll take a look at the code.
Thank you for watching.