| 336 | } |
| 337 | |
| 338 | size_t find_function_by_vram_section(uint32_t vram, size_t section_index) const { |
| 339 | auto find_it = functions_by_vram.find(vram); |
| 340 | if (find_it == functions_by_vram.end()) { |
| 341 | return (size_t)-1; |
| 342 | } |
| 343 | |
| 344 | for (size_t function_index : find_it->second) { |
| 345 | if (functions[function_index].section_index == section_index) { |
| 346 | return function_index; |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | return (size_t)-1; |
| 351 | } |
| 352 | |
| 353 | bool has_reference_symbols() const { |
| 354 | return !reference_symbols.empty() || !import_symbols.empty() || !event_symbols.empty(); |
no outgoing calls
no test coverage detected