| 266 | } |
| 267 | |
| 268 | u32 DisassemblyManager::getStartAddress(u32 address) |
| 269 | { |
| 270 | auto it = findDisassemblyEntry(entries,address,false); |
| 271 | if (it == entries.end()) |
| 272 | { |
| 273 | analyze(address); |
| 274 | it = findDisassemblyEntry(entries,address,false); |
| 275 | if (it == entries.end()) |
| 276 | return address; |
| 277 | } |
| 278 | |
| 279 | DisassemblyEntry* entry = it->second; |
| 280 | int line = entry->getLineNum(address,true); |
| 281 | return entry->getLineAddress(line); |
| 282 | } |
| 283 | |
| 284 | u32 DisassemblyManager::getNthPreviousAddress(u32 address, int n) |
| 285 | { |
nothing calls this directly
no test coverage detected