Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stack access with bpf2bpf calls #721

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Commits on Oct 10, 2024

  1. Add test case

    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    514162a View commit details
    Browse the repository at this point in the history
  2. Update r10 for call local and exit

    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    2c20c44 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Havoc stack on return from a subprogram

    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    3e2019d View commit details
    Browse the repository at this point in the history
  2. Increase subprogram stack size to 512

    So we don't have to test whether subprograms exist or not for now
    
    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    dbacc84 View commit details
    Browse the repository at this point in the history
  3. Add test case with multiple stack levels

    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4c33053 View commit details
    Browse the repository at this point in the history
  4. Add test case for accessing beyond end of subprogram stack

    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    de750bb View commit details
    Browse the repository at this point in the history
  5. Simplify code

    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8aaff6a View commit details
    Browse the repository at this point in the history
  6. Don't change r10

    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8a1c36a View commit details
    Browse the repository at this point in the history
  7. Address coderabbit suggestions

    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    0331ebe View commit details
    Browse the repository at this point in the history
  8. Fix bug hit by a test

    Signed-off-by: Dave Thaler <[email protected]>
    dthaler committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    c5ba6d7 View commit details
    Browse the repository at this point in the history