Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on Nov 9, 2019
|
parent
|
context
|
favorite
| on:
How Swift Achieved Dynamic Linking Where Rust Coul...
Function hooking is a lot more popular than you think it is.
gok
on Nov 10, 2019
|
next
[–]
Seems like that really depends more on calling conventions than an ABI overall?
saagarjha
on Nov 10, 2019
|
parent
|
next
[–]
Calling conventions are part of the ABI, no?
pjmlp
on Nov 9, 2019
|
prev
[–]
And usually forbidden in modern sandboxing.
saagarjha
on Nov 10, 2019
|
parent
[–]
Sandboxing has almost nothing to do with (and does not prevent) function hooking.
pjmlp
on Nov 10, 2019
|
root
|
parent
[–]
True, they are orthogonal.
However Windows, xOS and Android sandboxing are relatively restrictive in that use case.
saagarjha
on Nov 11, 2019
|
root
|
parent
[–]
How so? With dynamic linking function hooking is not all that difficult.
pjmlp
on Nov 11, 2019
|
root
|
parent
[–]
For the stuff that comes with your own package sure, but don't expect to override all the OS libraries without eventually get the process killed, like trying to use DLL injection and OS Hooks on Windows.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: