Re: Segments

Liste des GroupesRevenir à c arch 
Sujet : Re: Segments
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.arch
Date : 06. Jan 2025, 20:49:34
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <35495df6319c48e684e27ce7b46884ff@www.novabbs.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Rocksolid Light
On Mon, 6 Jan 2025 16:36:41 +0000, Anton Ertl wrote:

Terje Mathisen <terje.mathisen@tmsw.no> writes:
The best idea I have seen to help detect out of bounds accesses, is to
round all requested memory blocks up to the next 4K boundary and mark
the next page as unavailable, then return a skewed pointer back, so that
the end of the requested region coincides with the end of the (last)
allocated page. This does require at least 8kB for every allocation, but
I guess they can all share a single trapping segment?
>
(This idea does not help locate negative buffer overruns (underruns?)
but they seem to be much less common?)
>
It also does not help for out-of-bounds accesses that are not just
adjacent to an earlier in-bounds access.  That may also be a less
common vulnerability than adjacent positive-stride buffer overflows.
But if we throw hardware on the problem, do we want to spend hardware
on something that does not catch all out-of-bounds accesses?
An IBM guy once told me::
"If you are going to put it in HW, put it in in such a way that you
never have to change the definition of what you put in.
So, to answer the above question:: you want to check absolutely
all boundaries on all multi-container data objects, including
array bounds within a structure::
     struct { integer a,b,c,d;
              double  l[max],m[max],n[max][max]; } k;
Any access to m[] is checked to be within the substructure
of m[*], so you cannot touch l[] or n[][], or a,b,c, or d.
Try doing that with segmentation bounds checking...or
capabilities...

- anton

Date Sujet#  Auteur
3 Jan 25 * Re: Byte ordering154Waldek Hebisch
3 Jan 25 `* Re: Byte ordering153Anton Ertl
4 Jan 25  +* Re: Byte ordering139Waldek Hebisch
5 Jan 25  i+- Re: Byte ordering1Terje Mathisen
5 Jan 25  i`* 80286 protected mode (was: Byte ordering)137Anton Ertl
5 Jan 25  i +* Re: 80286 protected mode (was: Byte ordering)2Robert Swindells
5 Jan 25  i i`- Re: 80286 protected mode1Brian G. Lucas
5 Jan 25  i `* Re: 80286 protected mode134Waldek Hebisch
6 Jan 25  i  `* Re: 80286 protected mode133George Neuner
6 Jan 25  i   +* Segments (was: 80286 protected mode)130Anton Ertl
6 Jan 25  i   i+- Re: Segments (was: 80286 protected mode)1Michael S
6 Jan 25  i   i+* Re: Segments127Terje Mathisen
6 Jan 25  i   ii+* Re: Segments2Anton Ertl
6 Jan 25  i   iii`- Re: Segments1MitchAlsup1
6 Jan 25  i   ii+* Re: Segments2MitchAlsup1
7 Jan 25  i   iii`- Re: Segments1Terje Mathisen
6 Jan 25  i   ii`* Re: Segments122Thomas Koenig
7 Jan 25  i   ii +* Re: Segments2MitchAlsup1
7 Jan 25  i   ii i`- Re: Segments1Thomas Koenig
7 Jan 25  i   ii `* Re: Segments119Thomas Koenig
7 Jan 25  i   ii  +* Re: Segments7Michael S
7 Jan 25  i   ii  i+- Re: Segments1Thomas Koenig
7 Jan 25  i   ii  i`* Re: Segments5MitchAlsup1
7 Jan 25  i   ii  i `* Re: Segments4Thomas Koenig
8 Jan 25  i   ii  i  `* Re: Segments3MitchAlsup1
8 Jan 25  i   ii  i   `* Re: Segments2Thomas Koenig
11 Jan 25  i   ii  i    `- Re: Segments1MitchAlsup1
15 Jan 25  i   ii  `* Re: Segments111Keith Thompson
15 Jan 25  i   ii   `* Re: Segments110Thomas Koenig
15 Jan 25  i   ii    +* Re: Segments84Michael S
15 Jan 25  i   ii    i`* Re: Segments83Thomas Koenig
15 Jan 25  i   ii    i `* Re: Segments82Michael S
15 Jan 25  i   ii    i  +* Re: Segments80Thomas Koenig
16 Jan 25  i   ii    i  i`* Re: Segments79David Brown
16 Jan 25  i   ii    i  i `* Re: Segments78Michael S
16 Jan 25  i   ii    i  i  `* Re: Segments77David Brown
16 Jan 25  i   ii    i  i   `* Re: Segments76Waldek Hebisch
16 Jan 25  i   ii    i  i    +* Re: Segments42Thomas Koenig
16 Jan 25  i   ii    i  i    i+* Re: Segments39MitchAlsup1
18 Jan 25  i   ii    i  i    ii`* Re: Stacks, was Segments38John Levine
18 Jan 25  i   ii    i  i    ii +* Re: Stacks, was Segments36Niklas Holsti
18 Jan 25  i   ii    i  i    ii i+- Re: Stacks, was Segments1John Levine
19 Jan 25  i   ii    i  i    ii i+* Re: Stacks, was Segments33David Brown
19 Jan 25  i   ii    i  i    ii ii+* Re: Stacks, was Segments30MitchAlsup1
20 Jan 25  i   ii    i  i    ii iii`* Re: Stacks, was Segments29Michael S
20 Jan 25  i   ii    i  i    ii iii `* Re: Stacks, was Segments28Waldek Hebisch
20 Jan 25  i   ii    i  i    ii iii  `* Re: Stacks, was Segments27MitchAlsup1
21 Jan 25  i   ii    i  i    ii iii   +* Re: Stacks, was Segments2Michael S
21 Jan 25  i   ii    i  i    ii iii   i`- Re: Stacks, was Segments1MitchAlsup1
21 Jan 25  i   ii    i  i    ii iii   +- Re: Stacks, was Segments1Thomas Koenig
21 Jan 25  i   ii    i  i    ii iii   +* Re: Stacks, was Segments2Bill Findlay
21 Jan 25  i   ii    i  i    ii iii   i`- Re: Stacks, was Segments1MitchAlsup1
3 Feb 25  i   ii    i  i    ii iii   `* Re: Stacks, was Segments21Stefan Monnier
3 Feb 25  i   ii    i  i    ii iii    `* Re: Stacks, was Segments20MitchAlsup1
4 Feb 25  i   ii    i  i    ii iii     `* Re: Stacks, was Segments19MitchAlsup1
6 Feb 25  i   ii    i  i    ii iii      `* Re: Stacks, was Segments18MitchAlsup1
6 Feb 25  i   ii    i  i    ii iii       `* Re: Stacks, was Segments17MitchAlsup1
6 Feb 25  i   ii    i  i    ii iii        +* Re: Stacks, was Segments15Stephen Fuld
7 Feb 25  i   ii    i  i    ii iii        i+* Re: Stacks, was Segments12MitchAlsup1
7 Feb 25  i   ii    i  i    ii iii        ii+* Re: Stacks, was Segments10MitchAlsup1
8 Feb 25  i   ii    i  i    ii iii        iii`* Re: Stacks, was Segments9MitchAlsup1
11 Feb 25  i   ii    i  i    ii iii        iii `* Re: Stacks, was Segments8MitchAlsup1
11 Feb 25  i   ii    i  i    ii iii        iii  `* Re: Stacks, was Segments7MitchAlsup1
12 Feb 25  i   ii    i  i    ii iii        iii   `* Re: Stacks, was Segments6MitchAlsup1
13 Feb 25  i   ii    i  i    ii iii        iii    +* Re: Stacks, was Segments2MitchAlsup1
13 Feb 25  i   ii    i  i    ii iii        iii    i`- Re: Stacks, was Segments1MitchAlsup1
14 Feb 25  i   ii    i  i    ii iii        iii    `* Re: Stacks, was Segments3MitchAlsup1
14 Feb 25  i   ii    i  i    ii iii        iii     `* Re: Stacks, was Segments2MitchAlsup1
16 Feb 25  i   ii    i  i    ii iii        iii      `- Re: Stacks, was Segments1MitchAlsup1
11 Feb 25  i   ii    i  i    ii iii        ii`- Re: Stacks, was Segments1Stephen Fuld
7 Feb 25  i   ii    i  i    ii iii        i`* Re: Stacks, was Segments2MitchAlsup1
9 Feb 25  i   ii    i  i    ii iii        i `- Re: Stacks, was Segments1MitchAlsup1
6 Feb 25  i   ii    i  i    ii iii        `- Re: Stacks, was Segments1MitchAlsup1
19 Jan 25  i   ii    i  i    ii ii`* Re: Stacks, was Segments2Niklas Holsti
20 Jan 25  i   ii    i  i    ii ii `- Re: Stacks, was Segments1David Brown
28 Jan 25  i   ii    i  i    ii i`- Re: Stacks, was Segments1Tim Rentsch
18 Jan 25  i   ii    i  i    ii `- Re: Stacks, was Segments1MitchAlsup1
16 Jan 25  i   ii    i  i    i+- Re: Segments1Michael S
16 Jan 25  i   ii    i  i    i`- Re: Segments1Waldek Hebisch
16 Jan 25  i   ii    i  i    `* Re: Segments33David Brown
17 Jan 25  i   ii    i  i     +* Re: Segments4Waldek Hebisch
17 Jan 25  i   ii    i  i     i+* Re: Segments2Keith Thompson
17 Jan 25  i   ii    i  i     ii`- Re: Segments1David Brown
17 Jan 25  i   ii    i  i     i`- Re: Segments1David Brown
17 Jan 25  i   ii    i  i     +* Re: Segments2David Brown
17 Jan 25  i   ii    i  i     i`- Re: Segments1Brian G. Lucas
17 Jan 25  i   ii    i  i     `* Re: Segments26Thomas Koenig
17 Jan 25  i   ii    i  i      +* Re: Segments2David Brown
17 Jan 25  i   ii    i  i      i`- Re: Segments1Thomas Koenig
22 Jan 25  i   ii    i  i      `* Re: Segments23George Neuner
22 Jan 25  i   ii    i  i       +* Re: Segments12MitchAlsup1
22 Jan 25  i   ii    i  i       i`* Re: Segments11MitchAlsup1
22 Jan 25  i   ii    i  i       i `* Re: Segments10MitchAlsup1
23 Jan 25  i   ii    i  i       i  +* Re: Segments8Michael S
23 Jan 25  i   ii    i  i       i  i+* Re: Segments5Anton Ertl
23 Jan 25  i   ii    i  i       i  ii+* Re: Segments3Michael S
23 Jan 25  i   ii    i  i       i  iii+- Re: Segments1Anton Ertl
28 Jan 25  i   ii    i  i       i  iii`- Re: Segments1Tim Rentsch
23 Jan 25  i   ii    i  i       i  ii`- Re: Segments1Keith Thompson
23 Jan 25  i   ii    i  i       i  i`* Re: Segments2Michael S
23 Jan 25  i   ii    i  i       i  i `- Re: Segments1Michael S
23 Jan 25  i   ii    i  i       i  `- Re: Segments1George Neuner
22 Jan 25  i   ii    i  i       `* Re: stack sizes, Segments10John Levine
16 Jan 25  i   ii    i  `- Re: Segments1David Brown
15 Jan 25  i   ii    +* Re: Segments2Keith Thompson
16 Jan 25  i   ii    `* Re: Segments23Terje Mathisen
11 Jan 25  i   i`- Re: Segments1Andy Valencia
6 Jan 25  i   `* Re: what's a segment, 80286 protected mode2John Levine
5 Jan 25  +* Re: the 286, Byte ordering12John Levine
5 Jan 25  `- Re: Byte ordering1John Dallman

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal