15
PONTIFICIA UNIVERSIDAD CATÓLICA DEL ECUADOR SEDE IBARRA Nombre : Carlos Brusil Materia: Compiladores

Decompilador

Embed Size (px)

Citation preview

Page 1: Decompilador

PONTIFICIA UNIVERSIDAD CATÓLICA DEL ECUADOR SEDE IBARRA

Nombre : Carlos Brusil

Materia: Compiladores

Page 2: Decompilador

Ejecuto como administrador

Selección next

Acepto los términos de licencia

Page 3: Decompilador

Selecciono la ubicación del archivo

Siguiente

Page 4: Decompilador

Creo icono en el escritorio

Page 5: Decompilador

Instalar

Instalando

Finalizo

Page 6: Decompilador

Selección de un archivo

Page 7: Decompilador

Descompilo.

Código de la calculadora decompilado.

VERSION 5.00

Begin VB.Form Form1

Caption = "Calculadora en VB 6.0 IngenieriaElectronica.org"

ScaleMode = 1

AutoRedraw = False

FontTransparent = True

'Icon = n/a

LinkTopic = "Form1"

ClientLeft = 5715

ClientTop = 2490

ClientWidth = 5580

Page 8: Decompilador

ClientHeight = 5310

Begin CommandButton Command17

Caption = "C"

Left = 4560

Top = 1320

Width = 855

Height = 735

TabIndex = 17

End

Begin CommandButton Command16

Caption = "."

Left = 1440

Top = 4200

Width = 735

Height = 735

TabIndex = 16

End

Begin CommandButton Command15

Caption = "="

Left = 2400

Top = 4200

Width = 735

Height = 735

TabIndex = 15

End

Begin CommandButton Command14

Caption = "0"

Left = 360

Top = 4200

Page 9: Decompilador

Width = 735

Height = 735

TabIndex = 14

End

Begin CommandButton Command13

Caption = "+"

Left = 3480

Top = 1320

Width = 735

Height = 735

TabIndex = 13

End

Begin CommandButton Command12

Caption = "-"

Left = 3480

Top = 2280

Width = 735

Height = 735

TabIndex = 12

End

Begin CommandButton Command11

Caption = "X"

Left = 3480

Top = 3240

Width = 735

Height = 735

TabIndex = 11

End

Begin CommandButton Command10

Page 10: Decompilador

Caption = "/"

Left = 3480

Top = 4200

Width = 735

Height = 735

TabIndex = 10

End

Begin CommandButton Command9

Caption = "8"

Left = 1440

Top = 1320

Width = 735

Height = 735

TabIndex = 9

End

Begin CommandButton Command8

Caption = "7"

Left = 2400

Top = 1320

Width = 735

Height = 735

TabIndex = 8

End

Begin CommandButton Command7

Caption = "6"

Left = 360

Top = 2280

Width = 735

Height = 735

Page 11: Decompilador

TabIndex = 7

End

Begin CommandButton Command6

Caption = "5"

Left = 1440

Top = 2280

Width = 735

Height = 735

TabIndex = 6

End

Begin CommandButton Command5

Caption = "4"

Left = 2400

Top = 2280

Width = 735

Height = 735

TabIndex = 5

End

Begin CommandButton Command4

Caption = "3"

Left = 360

Top = 3240

Width = 735

Height = 735

TabIndex = 4

End

Begin CommandButton Command3

Caption = "2"

Left = 1440

Page 12: Decompilador

Top = 3240

Width = 735

Height = 735

TabIndex = 3

End

Begin CommandButton Command2

Caption = "1"

Left = 2400

Top = 3240

Width = 735

Height = 735

TabIndex = 2

End

Begin CommandButton Command1

Caption = "9"

Left = 360

Top = 1320

Width = 735

Height = 735

TabIndex = 1

End

Begin TextBox Text1

Left = 360

Top = 240

Width = 4695

Height = 615

TabIndex = 0

End

End

Page 13: Decompilador

Attribute VB_Name = "Form1"

b) Multiplicación de matrices decompilado

Un poco de código

rivate Function m2v1_ValueChanged(sender, e) '40210D

Code: TinyFormat

Start: 40210E

Size: 25

loc_40210E: nop

loc_40210F: ldarg.0

loc_402110: ldfld m1v2

loc_402115: ldarg.0

Page 14: Decompilador

loc_402116: ldfld m2v1

loc_40211B: callvirt get_Value

loc_402120: callvirt set_Value

loc_402125: nop

loc_402126: ret

End Function

Private Function btnCrearMatrix_Click(sender, e) '402128

Code: FatFormat

Start: 402134

Size: 545

Flag: InitLocals

Max Stack: 5

Local Variables: 11000003

Fat format decompilation is only support in Pro version

of VB Decompiler. Order page: www.vb-decompiler.org/order.htm

End Function

2.- Java decompiler

Instalo

Page 15: Decompilador

Selecciono el archivo