タグ

cscopeに関するysano2005のブックマーク (4)

  • cscope: 対話的な C プログラムの検査

    第 9 章 cscope: 対話的な C プログラムの検査 cscope は、C、lex、または yacc のソースファイル内のコードの特定の要素を探し出す対話型プログラムです。cscope ブラウザを使用すると、従来のエディタよりも効率的にソースファイルを検索、編集できます。これは、cscope が関数呼び出し (関数がいつ呼び出され、いつその関数を実行するか) についてと、C 言語の識別子と予約語を理解しているためです。章は cscope ブラウザについて説明します。 この章は、このリリースに付属している cscope ブラウザの使い方を学ぶための資料として利用できます。説明項目は次のとおりです。 「cscope プロセス」 「基的な使用方法」 「不明な端末タイプのエラー」 cscope プロセス cscope は、C、lex、yacc のソースファイルを読み取り、ファイル内の関

  • Using Cscope on large projects (example: the Linux kernel)

    Cscope can be a particularly useful tool if you need to wade into a large code base. You can save yourself a lot of time by being able to do fast, targeted searches rather than randomly grepping through the source files by hand (especially since grep starts to take a while with a truly large code base). In this tutorial you'll learn how to set up Cscope with a large project. We'll use as our examp

  • Vim/Cscope tutorial

    Cscope is a very handy tool, but it's even better when you don't ever have to leave the comfort of your favorite editor (i.e. Vim) to use it. Fortunately, Cscope support has been built into Vim. This tutorial introduces you both to Vim's built-in Cscope support, and to a set of maps that make searching more convenient. It is assumed you know the basics of using a vi-style editor, but you don't nee

  • ペンギン飼育係が見た: vi系ユーザのカーネルソースコード参照環境

    世のカーネルハッカーの皆さんは、カーネルのソースツリーを読み書きするのにそれぞれ独自の最適化済環境を構築しているだろうと想像するのですが、ふりかえって私はといえば、Linuxカーネルを読むようになってもうすぐ3年が経とうというのに全くもって環境らしい環境さえ整えていません。 私の環境はといえば、ctags と vim と grep コマンドだけです。構築(というほどでもありませんが)手順は、kernel.org からダウンロードして展開したソースのトップディレクトリで$ make tags ARCH=x86_64などと実行して tag ファイルを作成するだけで終わりです。 vim から tag を利用する際も、vim online で見つかる様々なスクリプトに手を染めることもなく、 Ctrl-] やら Ctrl-T などのデフォルトのキーバインドを叩くだけです。それで足りない場面では gr

  • 1