Skip to content

Function .end #2189

Answered by plafosse
BluePython339 asked this question in API
Dec 12, 2020 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

End as a concept doesn't really make sense in the way Binary Ninja defines a Function (a collection of connected BasicBlock objects). Consider the following code.
sub_0:
call sub_2
ret

b:
ret
sub_2:
jmp b

In the above function there is no clear "end" of the function. We feel that if we created such an API it would be error prone as people have different ideas on how the function "end" should be calculated.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@psifertex
Comment options

Answer selected by BluePython339
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants