From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: RFC: Prototype for a user threading library in Ada Date: Sat, 2 Jul 2016 20:26:16 +0300 Organization: Tidorum Ltd Message-ID: References: <58b78af5-28d8-4029-8804-598b2b63013c@googlegroups.com> <1e32c714-34cf-4828-81fc-6b7fd77e4532@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net kN0IfpUc2cP0t7nMlTtDSA/OxcUaKkY3KscaRua7NAx0FoRj1l Cancel-Lock: sha1:G9srHipSqUuBAcVsV/eFSs0Bi3g= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:31007 Date: 2016-07-02T20:26:16+03:00 List-Id: On 16-07-02 14:13 , Hadrien Grasland wrote: > > What I would love in the end is some kind of static analysis tool > that warns people about shared mutable data in multitasking programs, > but gives a way to bypass the warning to people who actually know > what they are doing. AdaControl can do that, and I believe CodePeer can do it too. > But to make this warning useful would also entail introducing a > notion of "deferred constants", that is, values which are defined at > runtime but will not be modified subsequently. Otherwise, there would > be too many false positives about program parameters that are loaded > at runtime. Static analysis tools always have ways to manually silence alarms that have been determined (my manual analysis) to be false positives. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .