Skip to content

Commit b218d2e

Browse files
committed
Add final touches
1 parent 2a0d557 commit b218d2e

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

_posts/2025-02-13-linux-coredumps-part-1.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: Linux Coredumps (Part 1) - Introduction
2+
title: Linux Coredumps (Part 1) Introduction
33
description:
44
"The basics of Linux coredumps, how they're used at Memfault, and how they're
55
captured."
66
author: blake
7-
tags: [linux, coredumps, memfault]
7+
tags: [linux, coredumps, memfault, debugging]
88
---
99

1010
One of the core features of the Memfault Linux SDK is the ability to capture and
@@ -149,19 +149,19 @@ the program headers. Here is the layout of the ELF header[^elf_format]:
149149
```c
150150
typedef struct {
151151
unsigned char e_ident[EI_NIDENT];
152-
Elf32_Half e_type;
153-
Elf32_Half e_machine;
154-
Elf32_Word e_version;
155-
Elf32_Addr e_entry;
156-
Elf32_Off e_phoff;
157-
Elf32_Off e_shoff;
158-
Elf32_Word e_flags;
159-
Elf32_Half e_ehsize;
160-
Elf32_Half e_phentsize;
161-
Elf32_Half e_phnum;
162-
Elf32_Half e_shentsize;
163-
Elf32_Half e_shnum;
164-
Elf32_Half e_shstrndx;
152+
Elf32_Half e_type;
153+
Elf32_Half e_machine;
154+
Elf32_Word e_version;
155+
Elf32_Addr e_entry;
156+
Elf32_Off e_phoff;
157+
Elf32_Off e_shoff;
158+
Elf32_Word e_flags;
159+
Elf32_Half e_ehsize;
160+
Elf32_Half e_phentsize;
161+
Elf32_Half e_phnum;
162+
Elf32_Half e_shentsize;
163+
Elf32_Half e_shnum;
164+
Elf32_Half e_shstrndx;
165165
} Elf32_Ehdr;
166166
```
167167

0 commit comments

Comments
 (0)