View Single Post
  #2  
Old 08-21-2021, 02:14
sendersu sendersu is offline
VIP
 
Join Date: Oct 2010
Posts: 1,067
Rept. Given: 332
Rept. Rcvd 223 Times in 115 Posts
Thanks Given: 235
Thanks Rcvd at 513 Times in 288 Posts
sendersu Reputation: 200-299 sendersu Reputation: 200-299 sendersu Reputation: 200-299
IDA is not very suitable for binary editing/patching
I'm using for this purpose old good (I think best) hex editor - Hiew

for example, I have a simple routine: http://prntscr.com/1qdbek0
I want to patch it so it 'll return 1

I'm navigating to required address, pressing F3, then F2
and typing (wow) asm commands
like
xor eax, eax
inc eax
retn

here we go: http://prntscr.com/1qdbfu3
Reply With Quote
The Following 2 Users Say Thank You to sendersu For This Useful Post:
ivanov (08-21-2021), Mendax47 (08-21-2021)