From 1078ce8cd67c87f419a947283f642e30fc0efded Mon Sep 17 00:00:00 2001 From: Prithvi Raj Date: Fri, 17 Apr 2026 15:48:11 +0000 Subject: [PATCH 1/3] Fix missing verb in volatile description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 01/README.md: "Volatile used to indicate" → "Volatile is used to indicate" Co-Authored-By: Claude Sonnet 4.6 --- 01/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01/README.md b/01/README.md index 2ef686b..8c0f254 100644 --- a/01/README.md +++ b/01/README.md @@ -57,7 +57,7 @@ Under Linux you can disable ASLR, without using a debugger, in (at least) two w ## FAQ * ```volatile int counter = 0``` -Volatile used to indicate to the compiler that a variable's value may change +Volatile is used to indicate to the compiler that a variable's value may change unexpectedly. i.e, the compiler can't assume that the value of the variable won't change if it is not written to. Volatile is needed to make sure that compiler doesn't do any optimisations such as storing the value of counter in From a8ab6732f2e49afcba685a48fb4636b7a8d1aa0c Mon Sep 17 00:00:00 2001 From: Vedant Sharma <98907842+vedant-sharmaa@users.noreply.github.com> Date: Thu, 30 Apr 2026 02:50:31 +0530 Subject: [PATCH 2/3] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- 01/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01/README.md b/01/README.md index 8c0f254..07c084c 100644 --- a/01/README.md +++ b/01/README.md @@ -58,7 +58,7 @@ Under Linux you can disable ASLR, without using a debugger, in (at least) two w * ```volatile int counter = 0``` Volatile is used to indicate to the compiler that a variable's value may change -unexpectedly. i.e, the compiler can't assume that the value of the variable +unexpectedly. i.e., the compiler can't assume that the value of the variable won't change if it is not written to. Volatile is needed to make sure that compiler doesn't do any optimisations such as storing the value of counter in any temporary variables. But still, we are trying to access the value of the From 9b6edfac6afe212e4414a9109e7fa5cb12698cd6 Mon Sep 17 00:00:00 2001 From: Vedant Sharma <98907842+vedant-sharmaa@users.noreply.github.com> Date: Thu, 30 Apr 2026 02:51:45 +0530 Subject: [PATCH 3/3] Fix typo in README FAQ section --- 01/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01/README.md b/01/README.md index 07c084c..3f0f815 100644 --- a/01/README.md +++ b/01/README.md @@ -58,7 +58,7 @@ Under Linux you can disable ASLR, without using a debugger, in (at least) two w * ```volatile int counter = 0``` Volatile is used to indicate to the compiler that a variable's value may change -unexpectedly. i.e., the compiler can't assume that the value of the variable +unexpectedly; i.e., the compiler can't assume that the value of the variable won't change if it is not written to. Volatile is needed to make sure that compiler doesn't do any optimisations such as storing the value of counter in any temporary variables. But still, we are trying to access the value of the