I have some binary files, each of them contain instructions of a function, (may be a little more in the end). The begining of the file also is the start point of the function.
This files were extracted from a ELF file.The platform is arm64.
So, how to load and analyze this file using angr?
I upload a sample file here: xfrank.pythonanywhere.com/bin
The original target:
Every function has a "switch case statement", the target is to get all intergers of the case expression.
Example(C code):
void func1(int cmd){
switch (cmd) {
case 1:
xxxx
break;
case 10:
yyyy;
break;
}
}
Result: 1,10