Подробнее тут https://smirn0v.notion.site/Hijack-Shared-Library-Function-at-Runtime-bd23d1adcdaa43ff9924b0e7ec703050