<!-- description --> @brief Validates the provided pt_gnu_stack segment. <!-- inputs/outputs --> @param phdr the pt_gnu_stack segment to validate
| 246 | /// @param phdr the pt_gnu_stack segment to validate |
| 247 | /// |
| 248 | static constexpr void |
| 249 | validate_pt_gnu_stack(bfelf::elf64_phdr_t const *const phdr) noexcept |
| 250 | { |
| 251 | bsl::expects(nullptr != phdr); |
| 252 | bsl::expects(bsl::safe_u32::magic_0() == (phdr->p_flags & bfelf::PF_X)); |
| 253 | } |
| 254 | |
| 255 | /// <!-- description --> |
| 256 | /// @brief Validates the provided pt_tls segment. |
nothing calls this directly
no outgoing calls
no test coverage detected