-
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? |
Beta Was this translation helpful? Give feedback.
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? |
Beta Was this translation helpful? Give feedback.
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.c
that contains something like the following:I think that should get you what you want?