For the complete documentation index, see llms.txt. This page is also available as Markdown.

Usage

CLI utility

This guide covers common workflows using the Loci CLI, which enables seamless interaction with the Loci AI Binary Analysis platform directly from your terminal.

Available commands

list-projects, list-versions, last-version, upload, upload-last, status, func-insights, flame-graph, whoami

List existing projects:

Command
loci_api list-projects

Example:

Example
$ python -m loci_api list-projects
[
    "OpenSSL"
]

List all versions for a project:

Command
loci_api list-versions <project-name>

Example:

Example
$ python -m loci_api list-versions OpenSSL
[
    "1.1.1",
    "3.1.4"
]

Get latest valid version for a project:

Example:

Upload new version:

Get function insights:

Example:

Get flame graph:

Example:

Check authentication status:

Example:


Python Module

Example Python script for a common workflow using the loci_api python module.

Binary Upload example python script

Last updated

Was this helpful?