🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/cloudhubs/sourcecrawler

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cloudhubs/sourcecrawler

v0.0.0-20200731153650-d7fc6969e942
Source
Go
Version published
Created
Source

Source Crawler version 1.0.0

A REST API to parse a single Go project and create a program slice based on found log statements and a given stack trace, and suggest integer inputs that can recreate the executed path. Project template based on this sample Go API

Installation & Run

Clone this repository

git clone https://github.com/cloudhubs/sourcecrawler

Build and run the project:

go get
go build
./sourcecrawler
# API now available on http://127.0.0.1:3000
# Slice endpoint: /slice

API

/slicer

  • POST : Parse a project to extract its log types
    • Request format:
    {
        "stackTrace": "", // stack trace escaped for JSON
        "logMessages": ["message", "message2"], // array of collected log messages
        "projectRoot": "/path/to/project" // path to project to be sliced
    }

FAQs

Package last updated on 31 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts