GithubHelp home page GithubHelp logo

More info about capslock HOT 5 OPEN

marcelloh avatar marcelloh commented on August 21, 2024 1
More info

from capslock.

Comments (5)

jcd2 avatar jcd2 commented on August 21, 2024 1

Using -output=json gives you example call paths showing why functions have particular capabilities.

There's also -output=graph which outputs the full set of paths from functions to capabilities in a format suitable for use with graphviz, but this can often be very large.

from capslock.

jcd2 avatar jcd2 commented on August 21, 2024

Thanks for trying Capslock! Output formats are definitely something we're still experimenting with to learn what's most useful. We have the command-line flag -output to change how the information is presented. -output=v is similar to what you suggest, although we should probably add the full path for source files instead of just the final filename.

from capslock.

gedw99 avatar gedw99 commented on August 21, 2024

Outputs format are all good.
but I was hoping to see discover of where is food some aspects

For example:
CAPABILITY_NETWORK: 3 references could pump back a link to the path to the file with line numbers for example.

from capslock.

lyda avatar lyda commented on August 21, 2024

Yes, I just ran this on a module and see CAPABILITY_ARBITRARY_EXECUTION: 2 references. I'm not clear which modules can do this. I'm also not clear if I'm using the parts that can do this. If it helps, I was running it against this.

https://gitlab.com/lyda/external-dns-openwrt

from capslock.

lyda avatar lyda commented on August 21, 2024

Perfect. The json output meets my needs.

from capslock.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.