Skip to content

[vm/ffi] Use embedder callbacks for dlopen / dlsym #37771

@dcharkes

Description

@dcharkes

We are incorrectly using dlopen/dlsym directly instead of the embedder callbacks, which violates the embedder abstraction. Once we switch to using embedder callbacks, the underlying pointer behind a dynamic library will be embedder-defined and not useful to Dart code.

Originally posted by @sjindel-google in #35881 (comment)

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffi

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions