कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

rose-container-tools

chunhualiao द्वारा

DevOps & Cloud
584clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Build and run ROSE compiler tools using ROSE installed in a Docker container.

विवरण

यह स्किल क्या करती है

Provides a Makefile-based workflow for building and running ROSE compiler tools inside a Docker container. ROSE requires GCC 7-10 and specific Boost versions that most modern hosts lack — the container supplies a pre-configured environment with ROSE at /rose/install. Covers identity translators, call graph generators, and AST traversal tools.

Using a pre-configured container avoids installing GCC 7-10 and the specific Boost version ROSE requires, which typically conflicts with modern host toolchains.

इसे कब इस्तेमाल करें

  • Generating call graphs from C/C++ source code
  • Writing source-to-source transformations on a codebase
  • Counting and inspecting AST node types across project files
  • Building tools that link against librose.so without configuring the host compiler
  • Running regression tests on ROSE-based analysis tools with make check

उदाहरण वर्कफ़्लो

इनपुट

User asks: Build and test a call graph generator for a C source file

एजेंट
  1. 1

    Start the rose-tools-dev container with the ROSE install and workspace directories mounted

  2. 2

    Place callgraph.cpp in the tools/ directory

  3. 3

    Create a Makefile with ROSE include and lib paths, rpath linker flag, and a check target

  4. 4

    Run make inside the container to compile the tool against librose.so

  5. 5

    Run make check to execute the tool against test C files and verify callgraph.dot output

आउटपुट

callgraph.dot file containing the call graph of the input C source

आवश्यकताएँ

  • Docker installed on the host machine
  • rose-dev Docker image with ROSE pre-installed
  • ROSE installation directory available to mount at /rose/install inside the container

इंस्टॉलेशन

clawhub install chunhualiao/rose-container-tools

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक