summaryrefslogtreecommitdiff
path: root/src/guile-disasm.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/guile-disasm.in')
-rw-r--r--src/guile-disasm.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/guile-disasm.in b/src/guile-disasm.in
new file mode 100644
index 000000000..08095f505
--- /dev/null
+++ b/src/guile-disasm.in
@@ -0,0 +1,11 @@
+#!@guile@ -s
+!#
+
+;; Obviously, this is -*- Scheme -*-.
+
+(use-modules (system vm core)
+ (system vm disasm))
+
+(for-each (lambda (file)
+ (disassemble-objcode (load-objcode file)))
+ (cdr (command-line)))