Is this homework?

One possible example I can think of, is if there is a struct of a known size, and you want to find it, you can allocate a block of the same size, and get a ptr that is near it?

Also, if you know of a function vulnerable to buffer overruns, you can place data near the input for a given buffer as long as you know its size and therefore control what the vulnerable function reads.,

General Programming Discussion
!programming@lemmy.ml

    A general programming discussion community.

    Rules:

    1. Be civil.
    2. Please start discussions that spark conversation

    Other communities

    Systems

    Functional Programming

    Also related

    • 0 users online
    • 3 users / day
    • 7 users / week
    • 40 users / month
    • 135 users / 6 months
    • 1 subscriber
    • 345 Posts
    • 547 Comments
    • Modlog