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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2001-08-09 10:24:13 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ From: Ted Dennison References: <3b690498.1111845720@news.worldonline.nl> <9kbu15$9bj@augusta.math.psu.edu> <3b6a453c.1193942215@news.worldonline.nl> <9keejl$fhj@augusta.math.psu.edu> <3c30da40.0108060848.796d9bd9@posting.google.com> <3B6F3216.F410BBFF@home.com> <3B6F3FAE.B9B9FOrganization: LJK Software Subject: Re: How Ada could have prevented the Red Code distributed denial of Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Thu, 09 Aug 2001 13:24:00 EDT Organization: http://www.newsranger.com Date: Thu, 09 Aug 2001 17:24:00 GMT Xref: archiver1.google.com comp.lang.ada:11695 comp.lang.c:73214 comp.lang.c++:81280 Date: 2001-08-09T17:24:00+00:00 List-Id: In article , Larry Kilgallen says... > >In article , Ted Dennison writes: > >> are doing something unsafe, but its not prevented. Also *every* Ada compiler (as >> opposed to "most" C++ compilers) has support for inline assembler. Its actually >> in the standard. > >Certainly you don't mean 13.8(8), which says: > > An implementation is not required to provide package > System.Machine_Code. Doh! You're right (and he didn't even include the "An implementation may place restrictions on code_statements" part). So in fact, the situation is pretty much the same as C++, except that there is a standard way to do it if it *is* supported. Not that that matters much, since the machine code itself is hardly going to be portable... --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com