ivanrubilo ([personal profile] ivanrubilo) wrote in [personal profile] vak 2023-11-02 10:54 pm (UTC)

Ну можно подхачить в загруженном бинаре `bl puts@plt` на правильный (и литерал пул со строкой) и не надо библиотек.

Короче я сделал не универсально, зато быстро - сишка линкуется с объектником, который `binary: .incbin hello-arm64`. Патчит адреса и запускает через pthread_attr_setstack и pthread_create.
Но конечно это неуниверсальное фуфло.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org