bug-cflow
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG REPORT] it seems "--main" option does not work


From: Sergey Poznyakoff
Subject: Re: [BUG REPORT] it seems "--main" option does not work
Date: Tue, 30 Mar 2021 11:20:48 +0300

Hi Hiroo!

Apologies for not being able to reply earlier.

> BTW, it seems that cflow "--main" option does not work properly.
> I found the patch at Jiale Zhi's git and it seems to work fine.
> Could you please consider margin the patch.

Thank you.  However, in my opinion it does work as documented: if
the user chose to ignore static symbols, they are not shown.  If the
start symbol is declared as static, wouldn't it be better to explictly
request symbols in the output (-is)?

Regarding the patch: it ignores the fact that start_name can be
NULL (if the --no-main option is given) and will cause coredump in
this case.

Best regards,
Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]