Lua:dbvm cloak activate

From Cheat Engine
Revision as of 08:18, 11 August 2020 by Pul9 (talk | contribs) (Created page with "Category:Lua '''function''' dbvm_cloak_activate(''physicalbase'', ''virtualbase'' OPTIONAL) Hides an executable memory range (4096 bytes) from snooping eyes Note: It is...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]