Lua:dbvm cloak activate

From Cheat Engine
Jump to navigation Jump to search

function dbvm_cloak_activate(physicalbase, virtualbase OPTIONAL)

Hides an executable memory range (4096 bytes) from snooping eyes

Note: It is recommended to cause a copy-on-write on the target first, else this will affect all processes that have this memory block loaded


Example using dbvm_cloak_activate[edit]

https://forum.cheatengine.org/viewtopic.php?t=609657

cloaklist={}

function cloak(address)
  local VA=getAddress(address)
  local PA=dbk_getPhysicalAddress(VA)

  local PAB=PA & 0xfffffffffffff000
  if (cloaklist[PAB]) then return end
  dbvm_cloak_activate(PA,VA)
  cloaklist[PAB]=true
end


See also[edit]

Related Functions[edit]