btags-0.1.1
توضیحات
Generate tag file according to the debug information such as DWARF including in the binary file
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | btags-0.1.1 |
| نام | btags |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | KKRainbow |
| ایمیل نویسنده | sunsijie@buaa.edu.cn |
| آدرس صفحه اصلی | https://github.com/KKRainbow/btagslib |
| آدرس اینترنتی | https://pypi.org/project/btags/ |
| مجوز | MIT |
Introduction
============
Generating tags file according to the DWARF debug information in the binary file.
Prerequisites
=============
* SQLAlchemy
* SQLite3
Installation
============
.. code-block::
# Ubuntu
apt install sqlite3
# ArchLinux
pacman -S sqlite3
pip install btags
Usage
=====
.. code-block::
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
.. code-block::
vim -t main
For examples
Assume there is a autoconf project under dir /tmp/project, and you use the following
command to build it.
.. code-block::
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
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3 | Python |
نحوه نصب
نصب پکیج whl btags-0.1.1:
pip install btags-0.1.1.whl
نصب پکیج tar.gz btags-0.1.1:
pip install btags-0.1.1.tar.gz