diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-04-14 15:16:51 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-04-14 15:16:55 +0200 |
| commit | 4d77ef25f948cac32e4d5fd3f9df019e728fcb45 (patch) | |
| tree | 919aef64f0588c0ab864ac07b51b27612948dd0e /src/stage1/codegen.cpp | |
| parent | 7a0022725342be8d3ea555a635da51f0e8c47b25 (diff) | |
| download | zig-4d77ef25f948cac32e4d5fd3f9df019e728fcb45.tar.gz zig-4d77ef25f948cac32e4d5fd3f9df019e728fcb45.zip | |
elf: check symtab section headers size when writing globals
Without this, it may happen we write the globals without extending
the symtab section header's size. This can potentially lead to
clobbering some data in the file, or simply omitting the globals
from the symtab when displaying with support tooling such as `readelf`.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions
