Giter Club home page Giter Club logo

Comments (6)

jorkl avatar jorkl commented on July 28, 2024

Naturally, this applies to memory ranges.

from openenclave.

CodeMonkeyLeet avatar CodeMonkeyLeet commented on July 28, 2024

We should do this as part of the story around oegen

from openenclave.

ihaller avatar ihaller commented on July 28, 2024

Should this be promoted to a bug?
None of the host memory management is validated today as far as I could see. This means that something as simple as printf could lead to a compromized enclave.

from openenclave.

CodeMonkeyLeet avatar CodeMonkeyLeet commented on July 28, 2024

There are multiple ideas in this issue.

  • For runtime functions, we will be doing a scrub for pointer checking as part of #22 for the public preview.
  • For developer authored functions, the current CallEnclave/CallHost mechanisms take opaque void* type for developer defined parameter passing, and as with the prototype SDK, puts the responsibility on the developer to use the OE_IsWithinEnclave/OE_IsOutsideEnclave methods when validating their data structures.
  • For the design principle, we want to move in the direction of stub generation via the oegen prototype to encapsulate host-enclave parameter passing, where we will then be able to enforce pointer boundary checking, as well as other semantics such as copy-on-enter/exit. This is currently out of scope for the public preview.

from openenclave.

CodeMonkeyLeet avatar CodeMonkeyLeet commented on July 28, 2024

Combining information from duplicate #214:

Refer to #212 for the fix to GetReport function.

from openenclave.

CodeMonkeyLeet avatar CodeMonkeyLeet commented on July 28, 2024

VVDN scrubbed the used of oe_is_outside_enclave in all existing boundary functions and fixed the remaining missing use in _HandleInitEnclave with PR #490, so closing out this task.

from openenclave.

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.