Skip to main content

Usage

kong eval compares Kong’s output against source code with known function names and signatures. It’s useful for benchmarking Kong’s accuracy on binaries where you have the original source.

Example output

Scoring indicators

Symbol accuracy

Kong uses recall-weighted word matching with synonym expansion to score function names. Names are split into word tokens (by underscores and camelCase), then scored: Synonyms: Kong recognizes equivalent terms — search/find/lookup, create/make/new/alloc, delete/remove, buffer/buf, and others. So find_node matching against search_element would get synonym credit.

Type accuracy

Type signatures are scored by weighted component matching: Parameter names are not compared — only types. This reflects that parameter naming is subjective, while types are structural.

Further reading

Last modified on March 20, 2026