summaryrefslogtreecommitdiff
path: root/src/plugins/HookSystem.hpp
Commit message (Collapse)AuthorAgeFilesLines
* plugin/hook: disallow multiple hooks per function (#12320)Vaxry2025-11-161-1/+3
| | | | | this was never safe. After recent changes, it's become even less so. Just disallow it. ref #11992
* hookSystem: use a full trampo setup for hooksVaxry2025-10-071-8/+8
| | | | | | | | instead of planting a longjmp at the fn head, make a shortjmp to a launch trampo this helps with shortjmps that can be in the fn and will break when relocated. They are very unlikely to occur within the first 5 bytes (jmp rel32) but can happen in the first 10 or so (longjmp) fixes csgo-vk-fix on latest main with release building on gcc / clang
* hookSystem: avoid using manual mem management, fix leakVaxry2025-06-191-9/+10
| | | | fixes #10790
* plugins: refactor class member vars (#10257)davc0n2025-05-031-12/+11
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-4/+4
|
* hooksystem: manually map trampoline addressesVaxry2024-04-041-1/+14
| | | | better patching of rip calls as we are close enough to just change them up
* pluginapi: Trampoline hooks %rip patching improvements (#4256)Vaxry2023-12-271-12/+22
| | | | | --------- Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-3/+3
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* Plugin Hooks: fix original bytes on %rip accessesvaxerski2023-02-271-0/+2
|
* Plugin Hooks: fix calls to %rip offsetsvaxerski2023-02-271-8/+13
|
* Plugin System (#1590)Vaxry2023-02-271-0/+48
--------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>