summaryrefslogtreecommitdiff
path: root/docs/posts/2023-10-04-bomb-lab.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/posts/2023-10-04-bomb-lab.html')
-rw-r--r--docs/posts/2023-10-04-bomb-lab.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/posts/2023-10-04-bomb-lab.html b/docs/posts/2023-10-04-bomb-lab.html
index 919ee15..6f736a8 100644
--- a/docs/posts/2023-10-04-bomb-lab.html
+++ b/docs/posts/2023-10-04-bomb-lab.html
@@ -6,13 +6,13 @@
<link rel="stylesheet" href="/assets/main.css" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Bomb Lab</title>
+ <title>id="bomb-lab">Bomb Lab</title>
<meta name="og:site_name" content="Navan Chauhan" />
<link rel="canonical" href="https://web.navan.dev/posts/2023-10-04-bomb-lab.html" />
<meta name="twitter:url" content="https://web.navan.dev/posts/2023-10-04-bomb-lab.html />
<meta name="og:url" content="https://web.navan.dev/posts/2023-10-04-bomb-lab.html" />
- <meta name="twitter:title" content="Bomb Lab" />
- <meta name="og:title" content="Bomb Lab" />
+ <meta name="twitter:title" content="id="bomb-lab">Bomb Lab" />
+ <meta name="og:title" content="id="bomb-lab">Bomb Lab" />
<meta name="description" content="Walkthrough of Phases 1-6 of Bomb Lab for CSCI 2400 Computer Systems Lab 2" />
<meta name="twitter:description" content="Walkthrough of Phases 1-6 of Bomb Lab for CSCI 2400 Computer Systems Lab 2" />
<meta name="og:description" content="Walkthrough of Phases 1-6 of Bomb Lab for CSCI 2400 Computer Systems Lab 2" />
@@ -44,9 +44,9 @@
<main>
- <h1>Bomb Lab</h1>
+ <h1 id="bomb-lab">Bomb Lab</h1>
-<h2>Introduction</h2>
+<h2 id="introduction">Introduction</h2>
<p>Lab 2 for CSCI 2400 @ CU Boulder - Computer Systems</p>
@@ -63,7 +63,7 @@
<p><em>Note: I am not sure about the history of the bomb lab. I think it started at CMU.</em></p>
-<h2>Phase 1</h2>
+<h2 id="phase-1">Phase 1</h2>
<div class="codehilite">
<pre><span></span><code>joxxxn@jupyter-nxxh6xx8:~/lab2-bomblab-navanchauhan/bombbomb$<span class="w"> </span>gdb<span class="w"> </span>-ex<span class="w"> </span><span class="s1">&#39;break phase_1&#39;</span><span class="w"> </span>-ex<span class="w"> </span><span class="s1">&#39;break explode_bomb&#39;</span><span class="w"> </span>-ex<span class="w"> </span><span class="s1">&#39;run&#39;</span><span class="w"> </span>./bomb<span class="w"> </span>
@@ -116,7 +116,7 @@ End<span class="w"> </span>of<span class="w"> </span>assembler<span class="w"> <
</code></pre>
</div>
-<h2>Phase 2</h2>
+<h2 id="phase-2">Phase 2</h2>
<div class="codehilite">
<pre><span></span><code>Phase<span class="w"> </span><span class="m">1</span><span class="w"> </span>defused.<span class="w"> </span>How<span class="w"> </span>about<span class="w"> </span>the<span class="w"> </span>next<span class="w"> </span>one?
@@ -239,7 +239,7 @@ That<span class="err">&#39;</span>s<span class="w"> </span>number<span class="w"
</code></pre>
</div>
-<h2>Phase 3</h2>
+<h2 id="phase-3">Phase 3</h2>
<p>Let us look at the disassembled code first</p>
@@ -521,7 +521,7 @@ Halfway<span class="w"> </span>there!
</code></pre>
</div>
-<h2>Phase 4</h2>
+<h2 id="phase-4">Phase 4</h2>
<div class="codehilite">
<pre><span></span><code>joxxxn@jupyter-nxxh6xx8:~/lab2-bomblab-navanchauhan/bombbomb$<span class="w"> </span>gdb<span class="w"> </span>-ex<span class="w"> </span><span class="s1">&#39;break phase_4&#39;</span><span class="w"> </span>-ex<span class="w"> </span><span class="s1">&#39;break explode_bomb&#39;</span><span class="w"> </span>-ex<span class="w"> </span><span class="s1">&#39;run&#39;</span><span class="w"> </span>-args<span class="w"> </span>./bomb<span class="w"> </span>sol.txt<span class="w"> </span>
@@ -732,7 +732,7 @@ So<span class="w"> </span>you<span class="w"> </span>got<span class="w"> </span>
</code></pre>
</div>
-<h2>Phase 5</h2>
+<h2 id="phase-5">Phase 5</h2>
<div class="codehilite">
<pre><span></span><code>So<span class="w"> </span>you<span class="w"> </span>got<span class="w"> </span>that<span class="w"> </span>one.<span class="w"> </span>Try<span class="w"> </span>this<span class="w"> </span>one.
@@ -863,7 +863,7 @@ Good<span class="w"> </span>work!<span class="w"> </span>On<span class="w"> </s
<p>Awesome!</p>
-<h2>Phase 6</h2>
+<h2 id="phase-6">Phase 6</h2>
<div class="codehilite">
<pre><span></span><code>Good<span class="w"> </span>work!<span class="w"> </span>On<span class="w"> </span>to<span class="w"> </span>the<span class="w"> </span>next...