|
|
|
|
|
by tsimionescu
1347 days ago
|
|
Shouldn't this be very easy in C? With static linking, you're vulnerable if you're linking the package. With dynamic linking, you're vulnerable if you're importing the specific functions. Otherwise, you're not vulnerable - there's no other legal way to call a function in C. Now, if you're memory mapping some file and jumping into it to call that function, good luck. You're already well into undefined behavior territory. Now, for lazy loading, I'm assuming the answer is the same as any other runtime path analysis tool: it's up to you to make sure all relevant code paths are actually running during the analysis. Presumably your tests should be written in such a way as to trigger the loading of all dependencies. I think there's really no other reasonable way to handle this, though I can't say I've worked with either GutHub Ultimate or Rezilion, so maybe I'm missing something. |
|
[0]: e.g. https://nvd.nist.gov/vuln/detail/CVE-2021-28957
[1]: e.g. https://nvd.nist.gov/vuln/detail/CVE-2014-0081