vbpf / ebpf-samples

Sample ebpf programs to analyze
91 stars 12 forks source link

Add file with invalid symbol size in ELF header #29

Closed dthaler closed 2 years ago

dthaler commented 2 years ago

ELFIO expects symbols to be either 16 bytes (if 32-bit) or 24-byte (if 64-bit) But it uses the entry size in the header to compute the number of symbols. In this test file, they don't match.

Signed-off-by: Dave Thaler dthaler@microsoft.com