Re: [Chicken-users] reachable top-level functions and variables

2017-07-12 Thread Mario Domenech Goulart
Hello Sven, On Wed, 12 Jul 2017 19:56:36 +0200 (CEST) Sven Hartrumpf wrote: > I am looking for a compiler option that will produce output > that could give me a start for determining a list of reachable > top-level functions/variables. I have tried other compilers but they >

Re: [Chicken-users] reachable top-level functions and variables

2017-07-12 Thread Evan Hanson
Hi Sven, Have you tried `csc -analyze-only -debug d`? This will give you a full list of value definitions, including module prefixes for any identifiers bound within a module. This may not be precisely what you mean by "reachable", but it might be a start. Cheers, Evan

[Chicken-users] reachable top-level functions and variables

2017-07-12 Thread Sven Hartrumpf
Hi all. I am looking for a compiler option that will produce output that could give me a start for determining a list of reachable top-level functions/variables. I have tried other compilers but they tend to deliver too many false positives for complex programs. Ciao Sven