Skip to main content

asmslicer

asmslicer is the LOCI static-analysis service. It slices ELF binaries (embedded firmware and executables) into:

  • ASM basic blocks and linear execution segments, including CFG info.
  • Callgraph between functions.
  • Symbol and variable-access information.

and additionally provides binary diffing, worst-case stack-depth estimation, ROM/RAM memory-usage reports, and cross-artifact symbol dependency resolution.

Documentation

The long-form documentation (docs/01-overview.md … docs/11-versioning.md) was removed in favour of regenerating it when needed; the last version lives in git history at commit 8dfe7d0:

git show 8dfe7d0:docs/01-overview.md

How do I get set up?

  • asmslicer uses uv for Python project and dependency management; install uv first.

External dependencies

The following system tools are required for full functionality:

  • binutils — provides c++filt for C++ symbol demangling
  • llvm-18 — provides llvm-ifs-18 for interface stub generation
  • rustfilt — for Rust symbol demangling

On Debian/Ubuntu:

sudo apt-get update && sudo apt-get install binutils rustfilt
wget -qO- https://apt.llvm.org/llvm.sh | sudo bash -s -- 18

For CUDA binary analysis (optional):

# Requires NVIDIA CUDA toolkit
sudo apt-get install cuda-cuxxfilt-13-0 cuda-cuobjdump-13-0 cuda-nvdisasm-13-0
  • Then configure the venv using uv:
uv venv
source .venv/bin/activate
uv sync
  • Once the venv is set up you can run the service CLI locally:
loci-service-asmslicer --help
loci-service-asmslicer slice path/to/app.elf ./out
  • The Docker container image can also be built in the standard way:
docker build -t loci-platform/loci-service-static-analysis .

Contribution guidelines

  • The project uses the main branch for active development.
  • Changes are merged by creating a pull request targeting main.
  • Merging to main automatically triggers a build pipeline which deploys the Docker container to AWS ECR with the latest tag.
  • Creating an annotated tag with an x.y.z version number triggers a pipeline build which deploys the Docker container to AWS ECR with the x.y.z tag. See docs/11-versioning.md.

Who do I talk to?

  • Repo owner or admin.

Metadata

Release files for loci-service-asmslicer 1.1.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for loci-service-asmslicer 1.1.19
File Actions
loci_service_asmslicer-1.1.19-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for loci_service_asmslicer-1.1.19-cp312-cp312-win_amd64.whl
loci_service_asmslicer-1.1.19-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for loci_service_asmslicer-1.1.19-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
loci_service_asmslicer-1.1.19-cp312-cp312-macosx_11_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 11.0+ x86-64 Details for loci_service_asmslicer-1.1.19-cp312-cp312-macosx_11_0_x86_64.whl
loci_service_asmslicer-1.1.19-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for loci_service_asmslicer-1.1.19-cp312-cp312-macosx_11_0_arm64.whl

Total release size: 40.0 MB

Release files / loci_service_asmslicer-1.1.19-cp312-cp312-win_amd64.whl

Download URL loci_service_asmslicer-1.1.19-cp312-cp312-win_amd64.whl
Size 3.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
803901063232bb374c26c50104ea975cfb47a365faaccfe121287af08fa62226
BLAKE2b-256 checksum
How to use checksums
23c708383932cb7d01099c1080f8bac8d37e2b7dd7e63ce19372fef0759f8ed2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / loci_service_asmslicer-1.1.19-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL loci_service_asmslicer-1.1.19-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 28.4 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
85508262abe6b8cab11a2ad3cf7bcc429c4f8ee68bf56f951c594c52dae26e75
BLAKE2b-256 checksum
How to use checksums
9915f2682928032ae9d7a1c70b731ea2bfaae983005c42fc36d208b2941ac3c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / loci_service_asmslicer-1.1.19-cp312-cp312-macosx_11_0_x86_64.whl

Download URL loci_service_asmslicer-1.1.19-cp312-cp312-macosx_11_0_x86_64.whl
Size 4.1 MB
Tags CPython 3.12 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
81ab80ffc305bdab6d324ee2292083e9791260cf95ca9ea2c8eedbafaee4fd11
BLAKE2b-256 checksum
How to use checksums
27fdc9d341c6dc84632dfc4644ba1c14b1f303ffe2ca177dc11ad9c8cca129c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / loci_service_asmslicer-1.1.19-cp312-cp312-macosx_11_0_arm64.whl

Download URL loci_service_asmslicer-1.1.19-cp312-cp312-macosx_11_0_arm64.whl
Size 3.9 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0a1eabd8ce0abf585541a030e3e29f31ca518146b1b1d7b77adb0d36e48bb514
BLAKE2b-256 checksum
How to use checksums
89d44c33d651015721c9f12bd5070d2d547caff9d9832506e4f9a9c12f0d8f72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Security for loci-service-asmslicer 1.1.19

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.19 This release

4 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page