|
I have a function which makes a system call. That system call will never return. There is data after that system call I would like to have XREFs too. Is there a way I can say, "This function does not continue beyond this instruction," allowing me to typ-ify the bytes following the system call? |
Answered by
psifertex
Aug 25, 2021
Replies: 1 comment
|
So one answer is with an arch hook. The other (easier) answer is to create syscall for that platform that defines the type and sets it as a no-return. Create a file in I think that should get you what you want? |
0 replies
Answer selected by
fuzyll
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So one answer is with an arch hook.
The other (easier) answer is to create syscall for that platform that defines the type and sets it as a no-return.
Create a file in
~/.binaryninja/types/platform/$plat-$arch.cthat contains something like the following:I think that should get you what you want?