Skip to main content

Introduction

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

Prerequisites

  • SQLAlchemy

  • SQLite3

Installation

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

Usage

btags.py -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
../configure
make

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

TODO

  • [] Replace sqlite with other faster data store mean

  • [] Add test cases

  • [] Add Travis CI support

Metadata

Release files for btags 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for btags 0.1.1
File Size Uploaded
btags-0.1.1.tar.gz 14.3 kB Details

Release files / btags-0.1.1.tar.gz

Download URL btags-0.1.1.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
49a7c6a47dee07b87ec6933afe7bcd04c7608669c166d8b361998abe0a55a7f9
BLAKE2b-256 checksum
How to use checksums
62689e46d5d86304a9b589a919a18064dbac03c9f832b3f06ac6f2c1a9c3fc94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page