ELFError::MultipleTextSections
is misleading, it can be thrown for zero sections
#220
Labels
bug
Something isn't working
There is the error
ELFError::MultipleTextSections
:Which is returned in a single place, here:
rbpf/src/elf.rs
Lines 363 to 365 in b40643e
The error message and name are misleading, because it can also be thrown when there is no text section at all. @enriquefynn and me just discovered this the hard way.
The text was updated successfully, but these errors were encountered: