| 4724 | |
| 4725 | |
| 4726 | static bool MatchCallbackForConstant(void* ctxt, uint64_t addr, BNLinearDisassemblyLine* line) |
| 4727 | { |
| 4728 | MatchCallbackContextForConstant* cb = (MatchCallbackContextForConstant*)ctxt; |
| 4729 | |
| 4730 | LinearDisassemblyLine result = LinearDisassemblyLine::FromAPIObject(line); |
| 4731 | BNFreeLinearDisassemblyLines(line, 1); |
| 4732 | |
| 4733 | return cb->func(addr, result); |
| 4734 | } |
| 4735 | |
| 4736 | |
| 4737 | bool BinaryView::FindNextData(uint64_t start, uint64_t end, const DataBuffer& data, uint64_t& addr, BNFindFlag flags, |