Commit cb08aa0
test: use stdlib elf constants and add defer Close
Replace magic numbers with debug/elf constants (elf.DT_FLAGS,
elf.DF_BIND_NOW, elf.DT_FLAGS_1, elf.DF_1_NOW) and add missing
defer e.Close() to match project conventions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 76742b4 commit cb08aa0
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
0 commit comments