IDA Pro's idaapi.BasicBlock
objects returned by idaapi.FlowChart()
can be of the following types (see gdl.hpp
in the SDK sources):
// flow chart block types
enum fc_block_type_t
{
fcb_normal, // normal block
fcb_indjump, // block ends with indirect jump
fcb_ret, // return block
fcb_cndret, // conditional return block
fcb_noret, // noreturn block
fcb_enoret, // external noreturn block (does not belong to the function)
fcb_extern, // external normal block
fcb_error, // block passes execution past the function end
};
I was able to find examples for all types except fcb_cndret
. What does
conditional return block
mean? Could somebody give an example?