Coder Social home page Coder Social logo

ASLR support? about lk HOT 1 OPEN

xx24678 avatar xx24678 commented on August 24, 2024
ASLR support?

from lk.

Comments (1)

travisg avatar travisg commented on August 24, 2024

There is no such support at the moment, though I think in general it wouldn't be too hard to add, depending on which architecture the intended use case is.

A) It probably only makes sense on architectures with an MMU, which reduces the use case to x86-32/64, riscv32 and 64, and arm32 and arm64.
B) The system would need to be compiled position independent but some self-relocation would probably need to be done at boot, though that may be handled by whatever bootloader is in use.
C) getting access to early entropy enough to randomly decide would be a fairly problematic thing to do generically, so it'd have to be solved on a per device basis.

However if the bootloader and device has the required support it wouldn't e a tremendously difficult thing to add at the kernel level.

from lk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.