sholsapp / gallocy

A distributed shared memory infrastructure.
27 stars 9 forks source link

Add an internal wrapper class so we can use libraries. #6

Closed sholsapp closed 8 years ago

sholsapp commented 8 years ago

Often, library code is written that uses new and malloc in their own ways, which breaks gallocy. We should try creating an internal wrapper and linking the external libraries against it. This may not work if the symbols are bonded at runtime, since the end application will then have several definitions of new and malloc.

sholsapp commented 8 years ago

Unfortunately, this isn't possible to do. If you interpose a function, you interpose it everywhere.