[DynInst_API:] CFGTool and EdgeTypeEnum


Date: Fri, 08 Feb 2019 15:31:30 -0500
From: Sameer Railkar <railkar@xxxxxxxxxxxxxx>
Subject: [DynInst_API:] CFGTool and EdgeTypeEnum
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
[← Prev in Thread] Current Thread [Next in Thread→]