<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3Adbvm_cloak_activate</id>
	<title>Lua:dbvm cloak activate - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cheatengine.org/index.php?action=history&amp;feed=atom&amp;title=Lua%3Adbvm_cloak_activate"/>
	<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:dbvm_cloak_activate&amp;action=history"/>
	<updated>2026-04-17T02:41:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.cheatengine.org/index.php?title=Lua:dbvm_cloak_activate&amp;diff=6973&amp;oldid=prev</id>
		<title>Pul9: Created page with &quot;Category:Lua '''function''' dbvm_cloak_activate(''physicalbase'', ''virtualbase'' OPTIONAL)  Hides an executable memory range (4096 bytes) from snooping eyes  Note: It is...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.cheatengine.org/index.php?title=Lua:dbvm_cloak_activate&amp;diff=6973&amp;oldid=prev"/>
		<updated>2020-08-11T08:18:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Lua&quot; title=&quot;Category:Lua&quot;&gt;Category:Lua&lt;/a&gt; &amp;#039;&amp;#039;&amp;#039;function&amp;#039;&amp;#039;&amp;#039; dbvm_cloak_activate(&amp;#039;&amp;#039;physicalbase&amp;#039;&amp;#039;, &amp;#039;&amp;#039;virtualbase&amp;#039;&amp;#039; OPTIONAL)  Hides an executable memory range (4096 bytes) from snooping eyes  Note: It is...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Lua]]&lt;br /&gt;
'''function''' dbvm_cloak_activate(''physicalbase'', ''virtualbase'' OPTIONAL)&lt;br /&gt;
&lt;br /&gt;
Hides an executable memory range (4096 bytes) from snooping eyes&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Example using dbvm_cloak_activate ===&lt;br /&gt;
&lt;br /&gt;
https://forum.cheatengine.org/viewtopic.php?t=609657&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cloaklist={}&lt;br /&gt;
&lt;br /&gt;
function cloak(address)&lt;br /&gt;
  local VA=getAddress(address)&lt;br /&gt;
  local PA=dbk_getPhysicalAddress(VA)&lt;br /&gt;
&lt;br /&gt;
  local PAB=PA &amp;amp; 0xfffffffffffff000&lt;br /&gt;
  if (cloaklist[PAB]) then return end&lt;br /&gt;
  dbvm_cloak_activate(PA,VA)&lt;br /&gt;
  cloaklist[PAB]=true&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{LuaSeeAlso}}&lt;br /&gt;
&lt;br /&gt;
=== Related Functions ===&lt;br /&gt;
* [[Lua:dbvm_cloak_deactivate|dbvm_cloak_deactivate]]&lt;/div&gt;</summary>
		<author><name>Pul9</name></author>
		
	</entry>
</feed>