[decompiler] Several small fixes (#775)

* fix assorted bugs

* stricter return types

* only look for functions in code files
This commit is contained in:
water111
2021-08-19 20:35:12 -04:00
committed by GitHub
parent 69d0840080
commit 11e11d2c04
48 changed files with 461 additions and 304 deletions
+2 -2
View File
@@ -1508,11 +1508,11 @@
(when parent
(let ((child (-> parent 0 child)))
(if (= child proc)
(return (the-as (pointer process-tree) #f))
(return (the-as object #f))
)
(while child
(if (= (-> child 0 brother) proc)
(return child)
(return (the-as object child))
)
(set! child (-> child 0 brother))
)