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

Full documentation lives in docs/ — start with the overview.

1. Overview and scope What the service does; scope boundary vs. the TDMP trace pipeline
2. Architecture Processing pipeline, disassembly engines, data flow
3. CLI reference Subcommands slice, diff, stack-depth, memmap, deps; exit codes
4. Output formats Normative schemas of all CSV/DOT/JSON artifacts
5. Analyses Methods, assumptions, guarantees, blind spots
6. Platform support aarch64 / Cortex-M / TriCore support matrix
7. Deployment and operations Docker image, env vars, security posture
8. Dependencies Third-party inventory and licenses
9. Quality assurance Test suites and golden-data regression evidence
10. Limitations and determinism Soundness limits, reproducibility statement
11. Release and versioning CI/CD, image tagging, provenance

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.

Release files for loci-service-asmslicer 1.1.5

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.5
File
loci_service_asmslicer-1.1.5-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
loci_service_asmslicer-1.1.5-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
loci_service_asmslicer-1.1.5-cp312-cp312-macosx_11_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 11.0+ x86-64 Details
loci_service_asmslicer-1.1.5-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details

Total release size: 36.8 MB

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

Download URL loci_service_asmslicer-1.1.5-cp312-cp312-win_amd64.whl
Size 3.3 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
ef4c80024cc997f156652d584f70cc3c339e3816aab2ec3b92c7ecb5debd0c33
BLAKE2b-256 checksum
How to use checksums
6d7f02532db1b6d8554faaee41a326683d49f2fbf914adabe53afffdbcfca9ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.15

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

Download URL loci_service_asmslicer-1.1.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 26.2 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5da5f6ccf3f402a82eac3e912e4b981f37b33a625bfdb42f24a6bafc83aa38bc
BLAKE2b-256 checksum
How to use checksums
adcac93bda3e3ee8b3536e4629c8167aae42d09caae54ceac4aa60e6cf60746b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

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

Download URL loci_service_asmslicer-1.1.5-cp312-cp312-macosx_11_0_x86_64.whl
Size 3.8 MB
Tags CPython 3.12 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
8138b0c17211b34ff3bed5ff1eaa5ac6f2f311610d51ec4710bf6c7b7756c728
BLAKE2b-256 checksum
How to use checksums
d53e4fcf06504ba9c00a923a1f23849f65151d548086fc803ae80b4fd99f4899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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

Download URL loci_service_asmslicer-1.1.5-cp312-cp312-macosx_11_0_arm64.whl
Size 3.6 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
62f7762ce171672703fdd24c12cd9198e8bd595d2f0cdfb625a0beae56b00327
BLAKE2b-256 checksum
How to use checksums
563e2be343cf395ff0214a9faaa6ba981354f405a2463f5f7fe8b3768f071b80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

1.1.9

4 release files

1.1.8

4 release files

1.1.7

4 release files

1.1.6

4 release files

This release

1.1.5 This release

4 release files

1.1.4

4 release files

1.1.3

4 release files

1.1.2

4 release files

1.1.1

4 release files

1.1.0

4 release files

1.0.17

4 release files

1.0.16

4 release files

1.0.14

4 release files

1.0.13

4 release files

1.0.12

4 release files

1.0.9

4 release files

1.0.8

4 release files

1.0.7

4 release files

1.0.6

4 release files

1.0.5

4 release files

1.0.4

4 release files

1.0.3

4 release files

1.0.2

4 release files

1.0.1

4 release files

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