use of com.google.security.zynamics.binnavi.ZyGraph.Builders.Modifiers.INodeModifier in project binnavi by google.
the class CCommentUtilities method createInstructionLine.
/**
* TODO (timkornau): either comment function or find a nicer way to generate a pretty printed
* instruction line which does not depend on the graph model.
*/
public static String createInstructionLine(final INaviInstruction instruction, final CGraphModel graphModel) {
final ZyGraphViewSettings graphSettings = graphModel.getGraph().getSettings();
final BackEndDebuggerProvider provider = graphModel.getDebuggerProvider();
final INodeModifier modifier = new CDefaultModifier(graphSettings, provider);
return ZyInstructionBuilder.buildInstructionLine(instruction, graphSettings, modifier).first();
}
Aggregations