Hi,
Sure, you can definitely print out the edge type.
Thanks,
--Xiaozhu
On Fri, Feb 8, 2019 at 4:38 PM Sameer Railkar <railkar@xxxxxxxxxxxxxx> wrote:
>
> Hello,
>
> I am a first year PhD student at UPenn in the Arch and Compiler (ACG) Group. I am using the CFGTool to create a CFG from a c++ binary.
>
> I enriched the edge information using the following enum and it seems to work for cases such as Taken, Not_Taken, FallThrough etc. I wanted to confirm if this functionality was intended in the way I am using it. Thank you in advance!
>
> enum EdgeTypeEnum {
> CALL = 0,
> COND_TAKEN,
> COND_NOT_TAKEN,
> INDIRECT,
> DIRECT,
> FALLTHROUGH,
> CATCH,
> CALL_FT, // fallthrough after call instruction
> RET,
> NOEDGE,
> _edgetype_end_
> };
>
> Regards,
>
> Sam
> _______________________________________________
> Dyninst-api mailing list
> Dyninst-api@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api
|