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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3f92589f15917eec,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Rego Newsgroups: comp.lang.ada Subject: Simple Warnings Needs Date: Wed, 23 Feb 2011 10:52:37 -0800 (PST) Organization: http://groups.google.com Message-ID: <8aaf3582-0cc1-4c5f-ab85-eeb7ba569d9e@glegroupsg2000goo.googlegroups.com> Reply-To: comp.lang.ada@googlegroups.com NNTP-Posting-Host: 201.7.145.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1298487244 20083 127.0.0.1 (23 Feb 2011 18:54:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 23 Feb 2011 18:54:04 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=201.7.145.1; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu User-Agent: G2/1.0 Xref: g2news2.google.com comp.lang.ada:18530 Date: 2011-02-23T10:52:37-08:00 List-Id: I would like to know (in more details than gnat documentation) the critical= ity of these warnings options:=20 ** "-gnatwd" (Implicit dereferencing) ** "-gnatwf" (Unreferenced formals) ** "-gnatwh" (Hiding) ** "-gnatwm" (Modified but unreferenced variables) ** "-gnatwk" (Variables that could be constants) I mean, for instance, a code with several variables that could be constants= , even in local procedures is an ugly code, not clean, but generally it's o= k if works. But I just want to understand what kind of other complications = that code could get due to not fixing these type of constructs. Someone onc= e told me that it could bring out code vulnerabilities, the binary app coul= d become "hackeable", but he gave not a deep explanation (so I cannot convi= nce others about this). And I did not find in ARM05 and gnat documentation.= So, could someone give me a hint? Regards.