DXR is Mozilla's 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, the re2 library, and structural data collected by a custom compiler plugin.
Try it here: http://dxr.mozilla.org/
- Stop by the #static channel on irc.mozilla.org and say hi. Some of the folks you might see include the main developers on the project. You can ping them if you have questions:
- Get the source code.
- The readme will get you running quickly. There's also a fair amount of reference documentation that goes deeper.
DXR is an exciting project with lots of room for growth; more help is always appreciated. Grab a ticket you find interesting:
Then be sure to stop by the IRC channel to make sure it's still relevant; we still have some Bugzilla gardening to do.
- DXR Roadmap
- DXR JS Analysis
- DXR Language-Independent Schema
- DXR Query Language Refresh
- DXR Result Mixing
- DXR Storages (to replace SQLite)
Of historical interest at best: