Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

disasm: Use Winxed $directives

  • Loading branch information...
commit d05e70fb5f6ebf20d990335804df2556184b589c 1 parent c725ca9
@Benabik Benabik authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 src/disasm.winxed
View
10 src/disasm.winxed
@@ -2,12 +2,14 @@
// Basic disassembler to demonstrate the PACT.Packfile classes
-class PACT.Packfile.Decompile;
+// Load disassembler
+$include 'PACT/Packfile/Decompile.winxed';
+$load 'PACT/Packfile/Decompile.pbc';
-function main[main](var argv) {
- load_bytecode('pact/packfile/decompile.pbc');
- load_bytecode('dumper.pbc');
+// Load dumper for output
+$load 'dumper.pbc';
+function main[main](var argv) {
// Process arguments
string progname = argv[0];
if (elements(argv) != 2) {
Please sign in to comment.
Something went wrong with that request. Please try again.