Fragile ABI

Jacob Carlborg doob at me.com
Sat Aug 18 13:37:27 PDT 2012


On 2012-08-18 14:52, Michel Fortin wrote:

> Using a lookup table it could be done.
>
> But if you're going to patch the code as a dynamic linker does but after
> the dynamic linking stage, then you'll have to play around with
> no-execute flags as well as address layout randomization, and this is
> going to be ugly.

These are usually not pretty things :)

> Speaking of OS X, if your app is sandboxed I think it won't be able to
> do anything like that. Given that sandboxing is the beginning of a trend
> on many platforms, I'm not sure implementing all that would be
> worthwhile: all it'd accomplish is make processes that can't be
> sandboxed run a little faster.

Yeah, that could be a problem.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list