| 265 | } |
| 266 | |
| 267 | std::size_t get_file_size(const char* file_name) { |
| 268 | std::ifstream file(file_name, std::ios::binary | std::ios::ate); |
| 269 | const auto file_size = file.tellg(); |
| 270 | BOOST_TEST(file_size > 0); |
| 271 | return static_cast<std::size_t>(file_size); |
| 272 | } |
| 273 | |
| 274 | uintptr_t get_address_from_frame(const std::string& frame) { |
| 275 | std::size_t address = 0; |
no outgoing calls
no test coverage detected