Sie sind auf Seite 1von 11

PONTIFICIA UIVERSIDAD CATLICA DEL ECUADOR

SEDE IBARRA

1. DATOS INFORMATIVOS
1.1 Nombre: Cristian Proao
1.2 Carrera: Sistemas
1.3 Nivel: 7mo
1.4 Tema: Trabajo de Compiladores
1.5 Fecha: 22-04-2015

2. DESARROLLO
Instalacin DB Decompiler

Instalacin Java Decompiler

El java decompiler es una aplicacin gratuita, que no necesita instalacin ya que es un


ejecutable que nos dar los mtodos, y toda la programacin de una aplicacin echa en java.

Ejemplos JAVA DECOMPILER


Ejecutamos el programa java decompiler y vamos a escoger el archivo .jar de un programa que
deseamos descompilar.
PROGRAMA NUMERO 1

Aqu podemos ver las clases que tienen el programa y todo lo que contienen los botones.

Cdigo de un botn del archivo que nos genera


package grafoestructura;
import java.awt.Container;
import java.awt.EventQueue;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.GroupLayout.ParallelGroup;
import javax.swing.GroupLayout.SequentialGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.LayoutStyle.ComponentPlacement;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
import javax.swing.UnsupportedLookAndFeelException;
public class Visual2
extends JFrame
{
static Grafo grafo;
public Visual2()
{
initComponents();
}
String resp = "";
String resp1 = "";
Recorridos re = new Recorridos();
private JButton btn_enl;
private JButton btn_gen;
private JButton btn_grado;
private JButton jButton1;
private JButton jButton2;
private JScrollPane jScrollPane1;
private JTextField txtArea2;
private JTextArea txt_3;
private JTextField txt_bucar;
private void initComponents()
{

PROGRAMA NUMERO 2

CODIGO DE UN BOTON
this.jButton2.setText("eliminar");
this.jButton2.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent evt)
{
Visual.this.jButton2ActionPerformed(evt);
}
});
this.jLabel1.setText("X=");
this.jLabel2.setText("F=");
this.jLabel3.setText("AUTOMATA FINITO DETERMINISTA");
this.jLabel4.setText("Q0=");
this.txt_q.setText(" ");
this.jLabel5.setText("Q=");

Ejemplos VB DECOMPILER
PROGRAMA NUMERO 1
Seleccionamos el programa que vamos a abrir, en este ejemplo ser la calculadora que esta
desarrollada en visual basic.

Nos saldr este mensaje le damos en si.

El resultado ser este:

Cdigo:
Private Sub por_Click() '4027F0
loc_004027F0: push ebp
loc_004027F1: mov ebp, esp
loc_004027F3: sub esp, 0000000Ch
loc_004027F6: push 004010F6h ; __vbaExceptHandler
loc_004027FB: mov eax, fs:[00h]
loc_00402801: push eax
loc_00402802: mov fs:[00000000h], esp
loc_00402809: sub esp, 00000040h
loc_0040280C: push ebx
loc_0040280D: push esi
loc_0040280E: push edi
loc_0040280F: mov var_C, esp
loc_00402812: mov var_8, 004010B8h
loc_00402819: mov esi, Me
loc_0040281C: mov eax, esi
loc_0040281E: and eax, 00000001h
loc_00402821: mov var_4, eax
loc_00402824: and esi, FFFFFFFEh
loc_00402827: push esi
loc_00402828: mov Me, esi
loc_0040282B: mov ecx, [esi]
loc_0040282D: call [ecx+04h]
loc_00402830: mov edx, [esi]

PROGRAMA NUMERO 2

Cdigo
Private Property Get get_Application() '402A58
Code: FatFormat
Start: 402A64
Size: 16
Flag: InitLocals
Max Stack: 1
Local Variables: 11000003
Fat format decompilation is only support in Pro version
of VB Decompiler. Order page: www.vb-decompiler.org/order.htm
End Sub

Das könnte Ihnen auch gefallen