Skip to content
Snippets Groups Projects
Commit 5c179030 authored by Petr Rockai's avatar Petr Rockai
Browse files

rst: Use the updated __vm_poke interface to set up the __tainted value.

parent b175d94d
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,8 @@ uint64_t __tainted = 0;
// TODO call from abstraction init
__attribute__((constructor)) void __tainted_init()
{
__vm_poke( &__tainted, _VM_ML_Taints, 0xF );
__vm_pointer_t ptr = __vm_pointer_split( &__tainted );
__vm_poke( _VM_ML_Taints, ptr.obj, ptr.off, 4, 0xF );
__vm_poke( _VM_ML_Taints, ptr.obj, ptr.off + 4, 4, 0xF );
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment