You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the ways in which vs is expected to work, is to pass one or more libraries as part of the application definition.
Those will be dynamically linked, and vs provides a runtime to express their UI.
Clearly this mode of operation is unsafe, so specific policy restrictions might prevent that.
Implementation-wise, this implies:
dl with dlopen and dlsym to handle symbols.
an FFI library so that calls can be constructed at runtime. libffi is the one I picked
runtime support in the different backends to glue together types with the FFI library, to be implemented
something able to parse the C header files into an intermediate form so that I can use that information in each backend.
The last point is the one which is totally unresolved.
Ideally it should be a library able to parse C headers, including the pre-processor stage, and return some kind of usable data structure (ast, whatever) to be used by all the backends.
Any idea would be very appreciated.
The text was updated successfully, but these errors were encountered:
One of the ways in which
vs
is expected to work, is to pass one or more libraries as part of the application definition.Those will be dynamically linked, and
vs
provides a runtime to express their UI.Clearly this mode of operation is unsafe, so specific policy restrictions might prevent that.
Implementation-wise, this implies:
dl
withdlopen
anddlsym
to handle symbols.libffi
is the one I pickedThe last point is the one which is totally unresolved.
Ideally it should be a library able to parse C headers, including the pre-processor stage, and return some kind of usable data structure (ast, whatever) to be used by all the backends.
Any idea would be very appreciated.
The text was updated successfully, but these errors were encountered: