Overhall w/ slides

This commit is contained in:
Kevin Thomas
2026-03-15 10:40:20 -04:00
parent d3b2ca3e47
commit 5b149048fd
61 changed files with 6305 additions and 240 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
# Embedded Systems Reverse Engineering
# Embedded Systems Reverse Engineering
[Repository](https://github.com/mytechnotalent/Embedded-Hacking)
## Week 6
@@ -27,7 +27,7 @@ You will use GDB to examine the static variable at its known RAM address (`0x200
**Terminal 1 - Start OpenOCD:**
```bash
```powershell
openocd ^
-s "C:\Users\flare-vm\.pico-sdk\openocd\0.12.0+dev\scripts" ^
-f interface/cmsis-dap.cfg ^
@@ -37,8 +37,8 @@ openocd ^
**Terminal 2 - Start GDB:**
```bash
arm-none-eabi-gdb build/0x0014_static-variables.elf
```powershell
arm-none-eabi-gdb build\0x0014_static-variables.elf
```
**Connect to target:**
+4 -4
View File
@@ -1,4 +1,4 @@
# Embedded Systems Reverse Engineering
# Embedded Systems Reverse Engineering
[Repository](https://github.com/mytechnotalent/Embedded-Hacking)
## Week 6
@@ -25,7 +25,7 @@ You will use GDB to locate the `gpio_set_pulls` function (remember: `gpio_pull_u
**Terminal 1 - Start OpenOCD:**
```bash
```powershell
openocd ^
-s "C:\Users\flare-vm\.pico-sdk\openocd\0.12.0+dev\scripts" ^
-f interface/cmsis-dap.cfg ^
@@ -35,8 +35,8 @@ openocd ^
**Terminal 2 - Start GDB:**
```bash
arm-none-eabi-gdb build/0x0014_static-variables.elf
```powershell
arm-none-eabi-gdb build\0x0014_static-variables.elf
```
**Connect to target:**
+4 -4
View File
@@ -1,4 +1,4 @@
# Embedded Systems Reverse Engineering
# Embedded Systems Reverse Engineering
[Repository](https://github.com/mytechnotalent/Embedded-Hacking)
## Week 6
@@ -27,7 +27,7 @@ The static variable `static_fav_num` is a `uint8_t` that counts from 42 to 255 b
**Terminal 1 - Start OpenOCD:**
```bash
```powershell
openocd ^
-s "C:\Users\flare-vm\.pico-sdk\openocd\0.12.0+dev\scripts" ^
-f interface/cmsis-dap.cfg ^
@@ -37,8 +37,8 @@ openocd ^
**Terminal 2 - Start GDB:**
```bash
arm-none-eabi-gdb build/0x0014_static-variables.elf
```powershell
arm-none-eabi-gdb build\0x0014_static-variables.elf
```
**Connect to target:**
+4 -4
View File
@@ -1,4 +1,4 @@
# Embedded Systems Reverse Engineering
# Embedded Systems Reverse Engineering
[Repository](https://github.com/mytechnotalent/Embedded-Hacking)
## Week 6
@@ -26,7 +26,7 @@ The original program uses `gpio_put(LED_GPIO, !gpio_get(BUTTON_GPIO))` which the
**Terminal 1 - Start OpenOCD:**
```bash
```powershell
openocd ^
-s "C:\Users\flare-vm\.pico-sdk\openocd\0.12.0+dev\scripts" ^
-f interface/cmsis-dap.cfg ^
@@ -36,8 +36,8 @@ openocd ^
**Terminal 2 - Start GDB:**
```bash
arm-none-eabi-gdb build/0x0014_static-variables.elf
```powershell
arm-none-eabi-gdb build\0x0014_static-variables.elf
```
**Connect to target:**
Binary file not shown.
+4 -4
View File
@@ -1,4 +1,4 @@
# Week 6: Static Variables in Embedded Systems: Debugging and Hacking Static Variables w/ GPIO Input Basics
# Week 6: Static Variables in Embedded Systems: Debugging and Hacking Static Variables w/ GPIO Input Basics
## 🎯 What You'll Learn This Week
@@ -430,7 +430,7 @@ This demonstrates unsigned integer overflow!
**Terminal 1 - Start OpenOCD:**
```bash
```powershell
openocd ^
-s "C:\Users\flare-vm\.pico-sdk\openocd\0.12.0+dev\scripts" ^
-f interface/cmsis-dap.cfg ^
@@ -440,8 +440,8 @@ openocd ^
**Terminal 2 - Start GDB:**
```bash
arm-none-eabi-gdb build/0x0014_static-variables.elf
```powershell
arm-none-eabi-gdb build\0x0014_static-variables.elf
```
**Connect to target:**