| 1223 | } |
| 1224 | |
| 1225 | ExternFuncInfo* nullcDebugConvertAddressToFunction(int instruction) |
| 1226 | { |
| 1227 | unsigned functionCount = 0; |
| 1228 | ExternFuncInfo *codeFunctions = nullcDebugFunctionInfo(&functionCount); |
| 1229 | for(unsigned i = 0; i < functionCount; i++) |
| 1230 | { |
| 1231 | if(instruction > codeFunctions[i].address && instruction <= (codeFunctions[i].address + codeFunctions[i].codeSize)) |
| 1232 | return&codeFunctions[i]; |
| 1233 | } |
| 1234 | return NULL; |
| 1235 | } |
| 1236 | |
| 1237 | #endif |
| 1238 |
no test coverage detected