Snaipe / Mimick

A KISS, cross-platform C mocking library
MIT License
152 stars 43 forks source link

Implement gnu_hash symbol lookup #26

Closed peadar closed 2 years ago

peadar commented 3 years ago

Use gnu_hash in preference to the standard hash table, as it's more efficient, and fall back to the tranditional table if we can't find it.

This should fix problems on systems that do not provide the tranditional ELF hash table for symbols.

peadar commented 3 years ago

Fixes issue #18