macOS
brew install cscopelocal Homebrew formula metadata
sudo port install cscopeMacPorts ports tree · devel/cscope/Portfile · 来源: api.github.com
安装
brew install cscopelocal Homebrew formula metadata
sudo port install cscopeMacPorts ports tree · devel/cscope/Portfile · 来源: api.github.com
sudo apk add cscopeAlpine Linux edge package indexes · cscope · 来源: dl-cdn.alpinelinux.org
sudo apt install cscopeDebian stable package indexes · cscope · 来源: deb.debian.org
sudo dnf install cscopeFedora Rawhide package metadata · cscope · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cscopenixpkgs package indexes · pkgs/by-name/cs/cscope/package.nix · 来源: api.github.com
sudo pacman -S cscopeArch Linux sync databases · cscope · 来源: geo.mirror.pkgbuild.com
sudo zypper install cscopeopenSUSE Tumbleweed package metadata · cscope · 来源: download.opensuse.org
scoop install main/cscopeScoop official bucket manifest trees · bucket/cscope.json · 来源: api.github.com
概览
Tool for browsing source code
历史
cscope is a classic Unix source-code browser and cross-reference tool for C-family code. Its history is unusually important for package nerds because it moved from Bell Labs internal tooling into official AT&T Unix and then into open-source Unix distributions.
The official cscope history page attributes the original work to Joe Steffen at Bell Labs in the early 1980s. It describes the first version as growing from shell scripts using grep and sed into a C program that parsed source into a tagged, updateable database for repeated searches.
The cscope homepage says it was part of the official AT&T Unix distribution for many years. The history page says it spread through AT&T and Bell Labs by the exptools network, was used at AT&T locations around the world, and supported projects with millions of lines of C and C++.
The man page describes cscope as an interactive, screen-oriented tool that builds a cscope.out cross-reference database and searches definitions, callers, callees, strings, regular expressions, files, and includes. It can also use cscope.files as the default namefile and offers a line-oriented mode for scripts and editor frontends.
cscope is a small but culturally durable Unix developer tool: curses UI, on-disk indexes, editor integration, and broad packaging across Homebrew, Linux distributions, MacPorts, Nix, Scoop, and others. It is the kind of tool whose package value is stable because it serves old and large codebases without needing a language server.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./cscope.files可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cscope | cli | 全局可执行文件 | |
ocs | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://cscope.sourceforge.net/
安装元数据
| 软件包键 | brew:cscope |
|---|---|
| 版本 | 15.9 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cscope |
| 主页 | https://cscope.sourceforge.net/ |
| 仓库 | https://sourceforge.net/p/cscope/cscope/ci/master/tree |
| 上游文档 | https://cscope.sourceforge.net/ |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://downloads.sourceforge.net/project/cscope/cscope/v15.9/cscope-15.9.tar.gz |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cscope |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cscope 15.9-2
interactively examine a C program source
https://cscope.sourceforge.net/
sudo apt install cscopecscope
nix profile install nixpkgs#cscopecscope 15.9-2
interactively examine a C program source
https://cscope.sourceforge.net/
sudo apt install cscopecscope 15.9-r1
Cscope is a developer's tool for browsing source code.
https://cscope.sourceforge.net/
sudo apk add cscopecscope-doc 15.9-r1
Cscope is a developer's tool for browsing source code. (documentation)
https://cscope.sourceforge.net/
sudo apk add cscope-doccscope 15.9-31.fc45
C source code tree search and browse tool
sudo dnf install cscopecscope 15.9-3
A developers tool for browsing program code
http://cscope.sourceforge.net/
sudo pacman -S cscopecscope 15.9-2.6
Interactive Tool for Browsing C Source Code
http://cscope.sourceforge.net/
sudo zypper install cscopecscope
sudo port install cscopemain/cscope
scoop install main/cscope来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.