dewolf
dewolf copied to clipboard
[GUI] Make addresses in code clickable
Proposal
Is it possible to make addresses in code clickable, i.e. if we have address in the decompiled code that points to some location within the binary, we could click it and it navigates to the corresponding location in the main view of the Binary Ninja?
E.g. extractme.zip
int main(int argc, char ** argv, char ** envp) {
int var_0;
char var_1;
void * i;
void * var_3;
var_0, var_1 = mmap(0, 71, 7, 34, -1, 0, 0);
if (var_0 == 0) {
var_0 = 1;
}
else {
for (i = 0U; i < 71; i++) {
var_3 = i + 0x804c020;
*var_3 = *var_3 ^ 19;
}
memcpy(var_0, 0x804c020, 71);
var_0();
var_0 = 0;
}
return var_0;
}
So when we click on 0x804c020
, we land on the corresponding address in the data section of the binary (marked gray):
Approach
Implement if possible :D