From b1c7521b0a1d69c12416b454616fbdf765a254cc Mon Sep 17 00:00:00 2001 From: DrEden33773 Date: Sun, 11 Feb 2024 02:38:27 +0800 Subject: [PATCH] =?UTF-8?q?rust,=20=E6=99=BA=E8=83=BD=E6=8C=87=E9=92=88?= =?UTF-8?q?=E8=BD=AC=E8=A3=B8=E6=8C=87=E9=92=88=E6=95=85=E6=84=8F=E4=B8=8D?= =?UTF-8?q?=E5=9B=9E=E6=94=B6,=20=E6=97=A0=E9=99=90=E5=BE=AA=E7=8E=AF,=20?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E8=B7=9F=E4=BB=96=E7=88=86=E4=BA=86!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DrEden33773/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/DrEden33773/README.md b/DrEden33773/README.md index 03708eb..4166a5e 100644 --- a/DrEden33773/README.md +++ b/DrEden33773/README.md @@ -2,7 +2,7 @@ ## Introduction -An extremely short executable rust implementation to f**k the memory up. +An extremely short executable rust implementation to f\*\*k the memory up. ## Code @@ -15,5 +15,4 @@ fn main(){loop{Box::leak(0.into());}} 1. `0.into()` simply generates a unique pointer with a clean ownership 2. `Box::leak()` simply forgets the input unique pointer's ownership, turning it into a raw pointer 3. Each time you leak a unique pointer, you don't give a try to free/drop it's load on heap memory -4. `loop{}` means this program will continue to be executed until all of the memory have been f**ked up - +4. `loop{}` means this program will continue to be executed until all of the memory have been f\*\*ked up