(&self)
| 15 | |
| 16 | impl PeSection { |
| 17 | pub fn is_executable(&self) -> bool { |
| 18 | self.characteristics & SCN_MEM_EXECUTE != 0 |
| 19 | } |
| 20 | |
| 21 | /// Parse the section table out of a PE image. Returns an empty vec on any |
| 22 | /// malformed/short input (mirrors the C# which returns Array.Empty). |