Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function OnBeforeCompilation()
- c = vmprotect.core()
- file = c:inputArchitecture()
- for i = 1, file:mapFunctions():count() - 1 do
- map_function = file:mapFunctions():item(i)
- if (map_function:type() == ObjectType.Code) then
- file:functions():addByAddress(map_function:address(), CompilationType.Mutation)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement