Skip to content

Use python shell and ctags command line tool to list all the global variables in the .c and .h files

Notifications You must be signed in to change notification settings

Ether-YiTseWu/GlobalVariablesFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

GlobalVariablesFinder

Use

  1. python shell
  2. ctags command line tool

to list all the global variables in the .c and .h files

Usage

Environment

  • OS : Ubuntu (or Linux-Based)
  • python libraries : subprocess, argparse, csv
  • tool : ctags

Command

python finder.py -f "your folder name"

Result

  • A CSV file named report.csv
ITEM Variable Name In Which Program
0 temp swap.c
1 count countNum.c
... ... ...

About

Use python shell and ctags command line tool to list all the global variables in the .c and .h files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages