Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Generate tag file according to the debug information such as DWARF including in the binary file

Project Description


Generating tags file according to the DWARF debug information in the binary file.


  • SQLAlchemy
  • SQLite3


# Ubuntu
apt install sqlite3
# ArchLinux
pacman -S sqlite3
pip install btags

Usage -j 2 -c /dir/to/the/build/root /path/to/the/binary
  • -j max worker threads
  • -c specify the directory under which the binary is compiled

After, you will get a tags file under current working directory.

It can be used as following

vim -t main

For examples Assume there is a autoconf project under dir /tmp/project, and you use the following command to build it.

cd /tmp/project
mkdir build
cd build

Then, /tmp/project/build will be the build root, because the project is compiled under this directory.


  • [] Replace sqlite with other faster data store mean
  • [] Add test cases
  • [] Add Travis CI support

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(14.3 kB) Copy SHA256 Hash SHA256
Source None Jun 27, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate