nand-nor / dedelf

Deep elf EDitor
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Implement --overwrite functionality for injection mode #1

Closed nand-nor closed 4 years ago

nand-nor commented 4 years ago

Allow for byte injection to replace a section's bytes entirely, rather than being added to the end of a section

nand-nor commented 4 years ago

For this feature the following restrictions have been implemented (potentially modified/removed at a later time) :

  1. bytes to inject must be less than or equal to the number of bytes to overwrite, in this case determined by the size of the section to be overwritten.
  2. In the less-than case, the remaining portion will be overwritten with 0s.