Package cuchaz.enigma.analysis

Examples of cuchaz.enigma.analysis.BehaviorReferenceTreeNode


   
    if( m_reference.entry instanceof ClassEntry )
    {
      // look for calls to the default constructor
      // TODO: get a list of all the constructors and find calls to all of them
      BehaviorReferenceTreeNode node = m_controller.getMethodReferences( new ConstructorEntry( (ClassEntry)m_reference.entry, "()V" ) );
      m_callsTree.setModel( new DefaultTreeModel( node ) );
    }
    else if( m_reference.entry instanceof FieldEntry )
    {
      FieldReferenceTreeNode node = m_controller.getFieldReferences( (FieldEntry)m_reference.entry );
      m_callsTree.setModel( new DefaultTreeModel( node ) );
    }
    else if( m_reference.entry instanceof MethodEntry )
    {
      BehaviorReferenceTreeNode node = m_controller.getMethodReferences( (MethodEntry)m_reference.entry );
      m_callsTree.setModel( new DefaultTreeModel( node ) );
    }
    else if( m_reference.entry instanceof ConstructorEntry )
    {
      BehaviorReferenceTreeNode node = m_controller.getMethodReferences( (ConstructorEntry)m_reference.entry );
      m_callsTree.setModel( new DefaultTreeModel( node ) );
    }
   
    m_tabs.setSelectedIndex( 2 );
    redraw();
View Full Code Here


  }
 
  public BehaviorReferenceTreeNode getMethodReferences( BehaviorEntry deobfBehaviorEntry )
  {
    BehaviorEntry obfBehaviorEntry = m_deobfuscator.obfuscateEntry( deobfBehaviorEntry );
    BehaviorReferenceTreeNode rootNode = new BehaviorReferenceTreeNode(
      m_deobfuscator.getTranslator( TranslationDirection.Deobfuscating ),
      obfBehaviorEntry
    );
    rootNode.load( m_deobfuscator.getJarIndex(), true );
    return rootNode;
  }
View Full Code Here

TOP

Related Classes of cuchaz.enigma.analysis.BehaviorReferenceTreeNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.