I have a very basic knowledge about IDA and patching. From my understanding, I can change a line of code by doing Edit -> Patch program -> Assembly
. But how to I go about adding new lines of code into program?
The existing variable can also be change by doing Patch program-> Change byte
, how can new variable be added?