Advertisement
encoree1996

Untitled

Feb 4th, 2016
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. function OnBeforeCompilation()
  2.     c = vmprotect.core()
  3.     file = c:inputArchitecture()
  4.     for i = 1, file:mapFunctions():count() - 1 do
  5.        map_function = file:mapFunctions():item(i)
  6.        if (map_function:type() == ObjectType.Code) then
  7.           file:functions():addByAddress(map_function:address(), CompilationType.Mutation)
  8.     end
  9.     end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement