| 26 | } |
| 27 | |
| 28 | static BinaryRegion MakeBinaryRegion( |
| 29 | const uint64_t offset = 0, const uint64_t length = 0, |
| 30 | const BinaryRegionType type = BinaryRegionType::Unknown, |
| 31 | const uint64_t array_length = 0, const uint64_t points_to_offset = 0, |
| 32 | BinaryRegionComment comment = {}) { |
| 33 | BinaryRegion region; |
| 34 | region.offset = offset; |
| 35 | region.length = length; |
| 36 | region.type = type; |
| 37 | region.array_length = array_length; |
| 38 | region.points_to_offset = points_to_offset; |
| 39 | region.comment = std::move(comment); |
| 40 | return region; |
| 41 | } |
| 42 | |
| 43 | static BinarySection MakeBinarySection(const std::string &name, |
| 44 | const BinarySectionType type, |
no test coverage detected