Pages: [1]
Author Topic: Are NOPS required if area is skipped all together?  (Read 4083 times)
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« on: September 07, 2014, 12:34:29 PM »

If I delete a function and jmp over it all together do I have to fill it with NOPS or can I just fill it with FF ?


Thanks,
Rey
Logged
technic
Full Member
***

Karma: +18/-5
Offline Offline

Posts: 227


« Reply #1 on: September 07, 2014, 02:46:56 PM »

If you jump over the whole function, it can be FF:ed, but you have to be sure the function isn't called from somewhere
Logged
technic
Full Member
***

Karma: +18/-5
Offline Offline

Posts: 227


« Reply #2 on: September 07, 2014, 02:57:04 PM »

As long as the instruction pointer never points to that code, it can be anything. If you are removing instructions from code that is executed - you need to use NOP.
Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #3 on: September 07, 2014, 04:04:34 PM »

thank you
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.013 seconds with 17 queries. (Pretty URLs adds 0s, 0q)