| 260 | } |
| 261 | |
| 262 | void PE::removeOriginalFunctionBytes(Function function) |
| 263 | { |
| 264 | // replace all the original function bytes with 0xCC |
| 265 | std::fill |
| 266 | ( |
| 267 | bytes.begin() + rvaToFileOffset(function.getStartRva()), |
| 268 | bytes.begin() + rvaToFileOffset(function.getEndRva()), |
| 269 | 0xCC |
| 270 | ); |
| 271 | } |
nothing calls this directly
no test coverage detected