Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Guess the snippet

Name: Anonymous 2010-05-22 9:26

I'll start

(defconst *path-delimiter* ">")
(defconst *type-delimiter* ".")
(defconst *version-delimiter* ".")
(defconst *directory-entry-file-type-max-length* 14.)
(defconst *lmfs-name-of-the-root* "The Root Directory")

(defflavor lmfs-mailbox-pathname-mixin () (mailbox-pathname-mixin)
  (:abstract-flavor)
  (:documentation :mixin "for ZMAIL's methods"))

(defflavor lmfs-pathname-mixin
    ()
    (lmfs-mailbox-pathname-mixin
     no-device-mixin
     hierarchical-directory-mixin
     meaningful-root-mixin
     both-cases-same-lower-preferred-mixin)
  (:required-flavors pathname)
  (:functions lmfs-pathname-fname-string))    ;This one is forward-referenced

Name: Anonymous 2010-05-30 8:26


L0
  [0]     (leaq (@ (:^ L0) (% rip)) (% fn))
  [7]     (cmpl ($ 16) (% nargs))
  [10]    (jne L77)
  [12]    (pushq (% rbp))
  [13]    (movq (% rsp) (% rbp))
  [16]    (pushq (% arg_y))
  [17]    (pushq (% arg_z))
  [18]    (movq (@ -8 (% rbp)) (% arg_y))
  [22]    (movq (@ -16 (% rbp)) (% arg_z))
  [26]    (subq ($ 13) (@ 216 (% save3)))
  [34]    (movq (@ 216 (% save3)) (% temp0))
  [41]    (cmpq (@ 224 (% save3)) (% temp0))
  [48]    (ja L52)
  [50]    (uuo-alloc)
L52
  [52]    (andb ($ 240) (@ 216 (% save3)))
  [60]    (movq (% arg_y) (@ 5 (% temp0)))
  [64]    (movq (% arg_z) (@ -3 (% temp0)))
  [68]    (movq (% temp0) (% arg_z))
  [71]    (leaveq)
  [72]    (retq)
L77
  [77]    (uuo-error-wrong-number-of-args)

This was created with disassemble, if you already didn't know that. This is a pretty canonic function so it shouldn't be that much of an issue.
Extra points for guessing the implementation.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List