The techniques to guard buffers against overflow

Discussion in 'Programming' started by SarK0Y, Oct 23, 2014.

  1. #1
    Hi there, my Friends. :D

    here, i'd like to discuss the possible & the best techniques for subj. 1st & foremost, i would like to share my humble approach to protect buffers.

    code: http://sourceforge.net/projects/dasofi/
    description: http://alg0z.blogspot.ru/2014/10/dabofi.html

    perhaps, description seems too short, but i hope code is more verbose ;)
    ======================
    Thanks a lot in Advance for your contribution.
     
    SarK0Y, Oct 23, 2014 IP
  2. Anveto

    Anveto Well-Known Member

    Messages:
    697
    Likes Received:
    40
    Best Answers:
    19
    Trophy Points:
    195
    #2
    Thanks, but what makes your project special? What programming language is it in? How is it different than other solutions?

    Seems a little odd to come back after 5 years just to post this with very little explanation as to why it is supposedly helpful :)
     
    Anveto, Oct 23, 2014 IP
  3. SarK0Y

    SarK0Y Active Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #3
    Markus, it's for C/C++. standard approaches to fight versus OF:

    1. ASLR.
    2 NX bit.
    3. Canaries.
    ==================
    http://en.wikipedia.org/wiki/Buffer_overflow.

    my humble method has minimal performance penalty & can be easily adapted (in comparison w/ other approaches) to different strategies of memory management ;)
     
    SarK0Y, Oct 23, 2014 IP