~/talk

Java Code Analysis with Database and Domain Specific Language

Talkat Joker 2023 · 2023-10-09..10-14· [java, compilers-and-language-design]
links:none on file
slides:none on file

Claim: using a small DSL plus a graph database cuts checker code from ~80 lines of imperative Java to a compact declarative rule. Implementation stores an adaptive AST and an extended code property graph in graph DBs (TinkerGraph / OverflowDB), translates the DSL to Gremlin, and runs taint analysis with sanitizer, extra flows and states. Result: a working Huawei engine that fully supports Java, requires front-end AST adapters, and eases rule authoring.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:58Static analysis principles
  3. 8:52DSL and code representation
  4. 13:42Database selection
  5. 17:30Tools and practical examples
  6. 28:31Developing analysis engines
  7. 37:43Summary and Q&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.