Menu

#3 Add control flow information to metadata

open
nobody
None
5
2005-12-28
2005-12-28
No

This patch enable control flow information to be
collected during instrumentation stage. This
information is available from metadata. The following
public members added to metadata classes and interfaces:

int IMetadataConstants.METHOD_NO_CONTROL_FLOW_TBL;

int IMetadataConstants.METHOD_NO_CONTROL_FLOW_DATA;

boolean IMetaData.hasControlFlowData ();

boolean ClassDescriptor.hasControlFlowData ();

boolean MethodDescriptor.hasControlFlowData ();

int [][] MethodDescriptor.getControlFlow ();

Control flow is int [][] array. For each basic block
it holds an array of basic block ids, that can be
executed just after this basic block.

Discussion

  • Mikhail Vladimirov

    Patch for EMMA 2.0.5312

     
  • Vlad Roubtsov

    Vlad Roubtsov - 2006-01-16

    Logged In: YES
    user_id=1013207

    But this sort of does not add any end-user functionality, right?

     
  • Mikhail Vladimirov

    Logged In: YES
    user_id=410068

    > But this sort of does not add any end-user functionality,
    right?
    Yes

     

Log in to post a comment.