Difference between revisions of "Template:Memory"

From Cheat Engine
Jump to navigation Jump to search
(Initial Template Creation.)
 
(Major overhaul of the template.)
 
Line 1: Line 1:
{{LuaIndexBoxNoDescription
+
<div style="display:flex; flex-wrap:wrap; gap:0.85em; margin:0.9em 0; font-family:monospace; align-items:flex-start; max-width:980px;">
|title=Memory Related Functions
+
 
|content=
+
<div style="flex:1 1 300px; min-width:270px; max-width:380px; border:1px solid #D9E8FA; border-radius:7px; background:#FFFFFF; overflow:hidden; box-shadow:0 2px 6px rgba(30,64,175,0.09);">
{{LuaIndexItemNoDescription
+
<div style="background:linear-gradient(90deg,#E8F2FF,#F7FBFF); color:#1F4E79; font-weight:bold; padding:0.5em 0.7em; border-bottom:1px solid #D9E8FA;">
|page=allocateMemory
+
Memory Allocation
|label=allocateMemory
+
</div>
}}
+
<div style="padding:0.6em 0.8em; line-height:1.75; background:#FBFDFF;">
{{LuaIndexItemNoDescription
+
<span style="color:#4A90E2;">◆</span> [[Lua:allocateMemory|allocateMemory]]<br>
|page=deAlloc
+
<span style="color:#4A90E2;">◆</span> [[Lua:deAlloc|deAlloc]]<br>
|label=deAlloc
+
<span style="color:#4A90E2;">◆</span> [[Lua:allocateSharedMemory|allocateSharedMemory]]<br>
|description=Frees memory previously allocated in the target process.
+
<span style="color:#4A90E2;">◆</span> [[Lua:allocateKernelMemory|allocateKernelMemory]]<br>
}}
+
<span style="color:#4A90E2;">◆</span> [[Lua:freeKernelMemory|freeKernelMemory]]
{{LuaIndexItemNoDescription
+
</div>
|page=allocateSharedMemory
+
</div>
|label=allocateSharedMemory
+
 
}}
+
<div style="flex:1 1 300px; min-width:270px; max-width:380px; border:1px solid #D9E8FA; border-radius:7px; background:#FFFFFF; overflow:hidden; box-shadow:0 2px 6px rgba(30,64,175,0.09);">
{{LuaIndexItemNoDescription
+
<div style="background:linear-gradient(90deg,#E8F2FF,#F7FBFF); color:#1F4E79; font-weight:bold; padding:0.5em 0.7em; border-bottom:1px solid #D9E8FA;">
|page=createSection
+
Sections / Views
|label=createSection
+
</div>
}}
+
<div style="padding:0.6em 0.8em; line-height:1.75; background:#FBFDFF;">
{{LuaIndexItemNoDescription
+
<span style="color:#4A90E2;">◆</span> [[Lua:createSection|createSection]]<br>
|page=mapViewOfSection
+
<span style="color:#4A90E2;">◆</span> [[Lua:mapViewOfSection|mapViewOfSection]]<br>
|label=mapViewOfSection
+
<span style="color:#4A90E2;">◆</span> [[Lua:unMapViewOfSection|unMapViewOfSection]]
}}
+
</div>
{{LuaIndexItemNoDescription
+
</div>
|page=unMapViewOfSection
+
 
|label=unMapViewOfSection
+
<div style="flex:1 1 300px; min-width:270px; max-width:380px; border:1px solid #D9E8FA; border-radius:7px; background:#FFFFFF; overflow:hidden; box-shadow:0 2px 6px rgba(30,64,175,0.09);">
}}
+
<div style="background:linear-gradient(90deg,#E8F2FF,#F7FBFF); color:#1F4E79; font-weight:bold; padding:0.5em 0.7em; border-bottom:1px solid #D9E8FA;">
{{LuaIndexItemNoDescription
+
Memory Mapping
|page=copyMemory
+
</div>
|label=copyMemory
+
<div style="padding:0.6em 0.8em; line-height:1.75; background:#FBFDFF;">
}}
+
<span style="color:#4A90E2;">◆</span> [[Lua:mapMemory|mapMemory]]<br>
{{LuaIndexItemNoDescription
+
<span style="color:#4A90E2;">◆</span> [[Lua:unmapMemory|unmapMemory]]
|page=compareMemory
+
</div>
|label=compareMemory
+
</div>
}}
+
 
{{LuaIndexItemNoDescription
+
<div style="flex:1 1 300px; min-width:270px; max-width:380px; border:1px solid #D9E8FA; border-radius:7px; background:#FFFFFF; overflow:hidden; box-shadow:0 2px 6px rgba(30,64,175,0.09);">
|page=allocateKernelMemory
+
<div style="background:linear-gradient(90deg,#E8F2FF,#F7FBFF); color:#1F4E79; font-weight:bold; padding:0.5em 0.7em; border-bottom:1px solid #D9E8FA;">
|label=allocateKernelMemory
+
Memory Copy / Compare
}}
+
</div>
{{LuaIndexItemNoDescription
+
<div style="padding:0.6em 0.8em; line-height:1.75; background:#FBFDFF;">
|page=freeKernelMemory
+
<span style="color:#4A90E2;">◆</span> [[Lua:copyMemory|copyMemory]]<br>
|label=freeKernelMemory
+
<span style="color:#4A90E2;">◆</span> [[Lua:compareMemory|compareMemory]]
|description=Frees kernel-mode memory previously allocated.
+
</div>
}}
+
</div>
{{LuaIndexItemNoDescription
+
 
|page=mapMemory
+
<div style="flex:1 1 300px; min-width:270px; max-width:380px; border:1px solid #D9E8FA; border-radius:7px; background:#FFFFFF; overflow:hidden; box-shadow:0 2px 6px rgba(30,64,175,0.09);">
|label=mapMemory
+
<div style="background:linear-gradient(90deg,#E8F2FF,#F7FBFF); color:#1F4E79; font-weight:bold; padding:0.5em 0.7em; border-bottom:1px solid #D9E8FA;">
}}
+
Memory Streams
{{LuaIndexItemNoDescription
+
</div>
|page=unmapMemory
+
<div style="padding:0.6em 0.8em; line-height:1.75; background:#FBFDFF;">
|label=unmapMemory
+
<span style="color:#4A90E2;">◆</span> [[Lua:createMemoryStream|createMemoryStream]]
|description=Unmaps memory previously mapped with mapMemory.
+
</div>
}}
+
</div>
{{LuaIndexItemNoDescription
+
 
|page=createMemoryStream
+
</div>
|label=createMemoryStream
 
}}
 
}}
 

Latest revision as of 23:38, 26 June 2026

Sections / Views

Memory Mapping

Memory Copy / Compare

Memory Streams