[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES trap sanitizer



Jo Even Skarstein wrote:
And since XaAES uses GemLib I really wonder why it has to mess with
traps.

I'm not sure if I understand what you mean here. XaAES obviously has to
use traps when calling the VDI. The VDI bindings are (IIRC) in GemLib.

The missing word is "directly".

The job of GemLib is to provide a clean C API for the GEM, by using trap #2 internally, in a private way.

XaAES uses the GemLib, so it should use the clean C interface of the GemLib, not use trap #2 directly. If it does this because there are missing functions inside the GemLib, they should be added there.

--
Vincent Rivière