I want to get all basicblocks of all functions, so I use the api.idaapi.FlowChart(func_t) in my code. I find that sometimes it never ends when the binary is a bit large, so I debug it.
I find that when it encounter a basic block including the instruction "jmp func_name", it will continue exploring the function func_name and the situation is also appeared in a single function thunk located at ".plt" section. How can I stop exploring further when it encouter the instruction "jmp func_name" or is there any other ways to get all basicblocks of all functions?