<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bounds checking for aCC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968388#M720368</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;AFAIK you'll have to go to the OpenBSD site to get more information about that.&lt;BR /&gt;&lt;BR /&gt;@Clay: no, I seriously doubt that bounds checking is for "whimps", as most programmers on the planet seem to be in urgent need of something doing that for them (M$ comes to mind).&lt;BR /&gt;Not everybody did a lot of coding with the Pascal/Modula/Ada family of languages (doing Ada back in 1983 was kinda fun)...&lt;BR /&gt;&lt;BR /&gt;Or how would you explain all those recent buffer overflow vulnerabilities? IMHO it can be credited to C/C++ programmers, who never learned it *right* - and to the whole theory of "partially correctness". &lt;BR /&gt;If all you are taught about on the universities is about "correct output to correct input" you will totally miss the point of thinking about "bad input", i.e. attacks!&lt;BR /&gt;&lt;BR /&gt;*SCNR*&lt;BR /&gt;&lt;BR /&gt;FWIW,&lt;BR /&gt;Wodisch</description>
    <pubDate>Fri, 09 May 2003 05:27:39 GMT</pubDate>
    <dc:creator>Wodisch</dc:creator>
    <dc:date>2003-05-09T05:27:39Z</dc:date>
    <item>
      <title>Bounds checking for aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968385#M720365</link>
      <description>There are bounds checking patches in gcc.&lt;BR /&gt;Please check the README file attached for that.&lt;BR /&gt;&lt;BR /&gt;Is there a patch for the same reason in aCC?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 08 May 2003 10:57:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968385#M720365</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-05-08T10:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bounds checking for aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968386#M720366</link>
      <description>There is no #pragma or compiler directive for this and I'm all but certain that there is no patch. I suppose that I'm "old school" but I firmly believe that run-time automatic array index checking is for wimps. A disciplined programmer should never allow that to happen.&lt;BR /&gt;</description>
      <pubDate>Thu, 08 May 2003 14:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968386#M720366</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-05-08T14:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bounds checking for aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968387#M720367</link>
      <description>Thanks Clay.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 May 2003 03:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968387#M720367</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-05-09T03:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Bounds checking for aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968388#M720368</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;AFAIK you'll have to go to the OpenBSD site to get more information about that.&lt;BR /&gt;&lt;BR /&gt;@Clay: no, I seriously doubt that bounds checking is for "whimps", as most programmers on the planet seem to be in urgent need of something doing that for them (M$ comes to mind).&lt;BR /&gt;Not everybody did a lot of coding with the Pascal/Modula/Ada family of languages (doing Ada back in 1983 was kinda fun)...&lt;BR /&gt;&lt;BR /&gt;Or how would you explain all those recent buffer overflow vulnerabilities? IMHO it can be credited to C/C++ programmers, who never learned it *right* - and to the whole theory of "partially correctness". &lt;BR /&gt;If all you are taught about on the universities is about "correct output to correct input" you will totally miss the point of thinking about "bad input", i.e. attacks!&lt;BR /&gt;&lt;BR /&gt;*SCNR*&lt;BR /&gt;&lt;BR /&gt;FWIW,&lt;BR /&gt;Wodisch</description>
      <pubDate>Fri, 09 May 2003 05:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968388#M720368</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2003-05-09T05:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Bounds checking for aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968389#M720369</link>
      <description>@Clay:&lt;BR /&gt;&lt;BR /&gt;I too take issue with your statement regarding automatic bounds checks.&lt;BR /&gt;&lt;BR /&gt;Consider this.  Assume you are disciplined; you consider all the ways in which the array can get loaded and handle every case in your code.&lt;BR /&gt;&lt;BR /&gt;Now, how is your result different from what the compiler would have produced?  More efficient?  Perhaps, but not likely.&lt;BR /&gt;&lt;BR /&gt;Besides, your performance for 99% of most apps will be unaffected.  Better to use a profiler to find and fix bottlenecks during integration .&lt;BR /&gt;&lt;BR /&gt;Naturally, there are exceptions to this, such as library code (like the STL).  The idea is to be productive, and worrying about optimizations at this level usually provides little return on your effort.&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful.</description>
      <pubDate>Fri, 09 May 2003 15:18:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bounds-checking-for-acc/m-p/2968389#M720369</guid>
      <dc:creator>Gregg Pulley</dc:creator>
      <dc:date>2003-05-09T15:18:52Z</dc:date>
    </item>
  </channel>
</rss>

