(&self)
| 20 | } |
| 21 | |
| 22 | pub fn name(&self) -> &str { |
| 23 | match self { |
| 24 | Self::Text => ".text", |
| 25 | Self::Data => ".data", |
| 26 | Self::RoData => ".rodata", |
| 27 | Self::Bss => ".bss", |
| 28 | Self::Custom(s) => s.as_str(), |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | /// True for sections that hold executable machine code. |
| 33 | pub fn is_executable(&self) -> bool { |
no outgoing calls
no test coverage detected