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

Re: Placing wrapped functions into a library


On Friday, 14 July 2017 15:11:37 CEST Mark Syms wrote:
> Don't know exactly what I changed but it's working now, so please ignore
> this.
> 
>                 Mark.

I've written

https://cwrap.org/preloading.html

which gives you some understanding of the linker and shows you how to debug 
symbol binding ;)

It is always a good idea to have one (or more) test binary for one .c file. 
You can include the .c file and also write test for static functions!


Cheers,


	Andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

References:
Placing wrapped functions into a libraryMark Syms <Mark.Syms@xxxxxxxxxx>
RE: Placing wrapped functions into a libraryMark Syms <Mark.Syms@xxxxxxxxxx>