I get the above error trying to run ghidra2dwarf against an arm android library.
1879048193 is 0x70000001 which is SHT_LOPROC + 1
The check for valid SHT values needs to be able to allow any value between
SHT_LOPROC and SHT_HIPROC
(same for SHT_LOUSER and SHT_HIUSER as well)
I get the above error trying to run ghidra2dwarf against an arm android library. 1879048193 is 0x70000001 which is SHT_LOPROC + 1 The check for valid SHT values needs to be able to allow any value between SHT_LOPROC and SHT_HIPROC (same for SHT_LOUSER and SHT_HIUSER as well)