| 2349 | |
| 2350 | |
| 2351 | vector<Ref<Function>> BinaryView::GetAllEntryFunctions() |
| 2352 | { |
| 2353 | size_t count; |
| 2354 | BNFunction** funcs = BNGetAllEntryFunctions(m_object, &count); |
| 2355 | if (count == 0) |
| 2356 | return {}; |
| 2357 | |
| 2358 | vector<Ref<Function>> result; |
| 2359 | for (size_t i = 0; i < count; i++) |
| 2360 | result.push_back(new Function(BNNewFunctionReference(funcs[i]))); |
| 2361 | BNFreeFunctionList(funcs, count); |
| 2362 | return result; |
| 2363 | } |
| 2364 | |
| 2365 | |
| 2366 | Ref<BasicBlock> BinaryView::GetRecentBasicBlockForAddress(uint64_t addr) |
no test coverage detected