~/talk

Interleaving Static Analysis and LLM Prompting

Talkat SOAP 2024 · on Tuesday, 2024-06-25· [large-language-models, ai-assisted-development]
links:none on file
links:none on file
links:none on file
slides:none on file

A static analyzer (EESI) calls an LLM whenever a function’s error-specification lattice value is bottom, and the LLM output is converted to EESI’s abstract domain and re-fed into analysis; EESI interleaved with GPT‑4 Turbo raises average recall from 52.55% to 77.83% and F1 from 0.612 to 0.804 while keeping precision near 86% (86.67% → 85.12%) across benchmarks (MbedTLS, zlib, pigeon, netdata, httpd, Apache). Prompts include abstract domain, few‑shot examples and Chain‑of‑Thought, and answers are validated by success‑value and return‑range checks; GPT‑4 adds ~30 min vs ~7 min static only.

AI-written summary · about

  1. 0:00Interleaving static analysis with LLMs
  2. 1:01Static analysis and LLM prompting
  3. 3:29Interleaving static analysis with LLMs
  4. 4:34Error specification with static analysis
  5. 6:37Designing prompts for error specs
  6. 8:03Handling LLM hallucinations
  7. 9:08Case study: embed TLS and third-party functions
  8. 10:54Limitations of LLMs alone
  9. 12:21Research questions and metrics
  10. 13:34Experimental setup and benchmarks
  11. 14:39Results vs baseline static analysis
  12. 16:25Conclusion and findings
  13. 17:31Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.