Powerful search for large codebases
Python JavaScript C++ HTML CSS Rust Other
Latest commit a4f5f39 Jan 4, 2017 @erikrose erikrose Add more of an inversion-of-control framework to the base TestCase. M…
…ake test_unicode work on Mac (HFS+) hosts.

* Add hooks for generating source, removing generated source, and indexing.
* Factor up the ES refresh() and the deletion of ES indices to the base class.
* Factor up this_dir() as well.
* Switch chdir() to cd(), which doesn't leave us in a deleted temp dir which makes future getcwd() calls deep in the stdlib grumpy.



DXR is a code search and navigation tool aimed at making sense of large projects like Firefox. It supports full-text and regex searches as well as structural queries like "Find all the callers of this function." Behind the scenes, it uses trigram indices, elasticsearch, and static analysis data collected by instrumented compilers to make searches faster and more accurate than is possible with simple tools like grep. DXR also exposes a plugin API through which understanding of more languages can be added.