| 225 | } |
| 226 | |
| 227 | Result BinaryReaderObjdumpBase::OnRelocCount(Index count, Index section_index) { |
| 228 | if (section_index >= section_types_.size()) { |
| 229 | err_stream_->Writef("invalid relocation section index: %" PRIindex "\n", |
| 230 | section_index); |
| 231 | reloc_section_ = BinarySection::Invalid; |
| 232 | return Result::Error; |
| 233 | } |
| 234 | reloc_section_ = section_types_[section_index]; |
| 235 | return Result::Ok; |
| 236 | } |
| 237 | |
| 238 | class BinaryReaderObjdumpPrepass : public BinaryReaderObjdumpBase { |
| 239 | public: |
nothing calls this directly
no test coverage detected