-
Notifications
You must be signed in to change notification settings - Fork 439
chore(aap): ensure ctypes dynamic loading is unpatched #13386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(aap): ensure ctypes dynamic loading is unpatched #13386
Conversation
|
Bootstrap import analysisComparison of import times between this PR and base. SummaryThe average import time from this PR is: 219 ± 4 ms. The average import time from base is: 222 ± 5 ms. The import time difference between this PR and base is: -3.6 ± 0.2 ms. Import time breakdownThe following import paths have appeared:
|
BenchmarksBenchmark execution time: 2025-05-28 15:30:25 Comparing candidate commit 661c258 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 447 metrics, 5 unstable metrics. |
Nice. Also make easier to find the possible breaking PR (the last one merged). |
8a8fbe9
to
88ad87b
Compare
When I was looking into this a few weeks ago, my realisation was that, by removing the need for https://github.com/Datadog/dd-trace-py/blob/16054515e292a66c5eaf79b9ea62df6f348cd67e/ddtrace/appsec/_processor.py#L118, the problem underlying this PR would not occur. A possible way of making Attempt: 91b7508 |
Ensure that ctypes dynamic loading for libddwaf is using the unpatched version of subprocess.Popen.
Changes:
APPSEC-57808
Checklist
Reviewer Checklist