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.
Supported targets: aarch64, ARM Cortex-M (Thumb-2), TriCore, and x86-64 (ELF, SysV; linked and relocatable).
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— providesc++filtfor C++ symbol demanglingllvm-18— providesllvm-ifs-18for interface stub generationrustfilt— 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
mainbranch for active development. - Changes are merged by creating a pull request targeting
main. - Merging to
mainautomatically triggers a build pipeline which deploys the Docker container to AWS ECR with thelatesttag. - Creating an annotated tag with an
x.y.zversion number triggers a pipeline build which deploys the Docker container to AWS ECR with thex.y.ztag. See docs/11-versioning.md.
Who do I talk to?
- Repo owner or admin.
Metadata
Release files for loci-service-asmslicer 1.1.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| loci_service_asmslicer-1.1.20-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details for loci_service_asmslicer-1.1.20-cp312-cp312-win_amd64.whl |
| loci_service_asmslicer-1.1.20-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.20-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
| loci_service_asmslicer-1.1.20-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.20-cp312-cp312-macosx_11_0_x86_64.whl |
| loci_service_asmslicer-1.1.20-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details for loci_service_asmslicer-1.1.20-cp312-cp312-macosx_11_0_arm64.whl |
Total release size: 46.6 MB
Release files / loci_service_asmslicer-1.1.20-cp312-cp312-win_amd64.whl
| Download URL | loci_service_asmslicer-1.1.20-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
710e0fe14e66bed46d964049d9de99cc73909696e67945fdd3b05447f8be4ed7
|
|
BLAKE2b-256 checksum How to use checksums |
4547900e34e47bbc98a42db446c7f645e986a88e4ded4c069bfe46edb625470a
|
| 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.20-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | loci_service_asmslicer-1.1.20-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 33.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 |
92dc05cc1b41e4564ef82b329b50f28473d1f822eb67ba53ad847e3d23839dc2
|
|
BLAKE2b-256 checksum How to use checksums |
6bbe8063578f73516ffbef57aed0b5f1137e89079093313baca4cf6eabf81a81
|
| 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.20-cp312-cp312-macosx_11_0_x86_64.whl
| Download URL | loci_service_asmslicer-1.1.20-cp312-cp312-macosx_11_0_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.12 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
38d271fd649d438adb5628b82bf0e7d2b33f7666edee6892815329ed20dd2819
|
|
BLAKE2b-256 checksum How to use checksums |
c3be16bf1b4d96cddf0dfb91b017050892ff026e83d04f1d4bd8a124d60310d3
|
| 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.20-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | loci_service_asmslicer-1.1.20-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a0eb65f6e689f6f527b65ea570a4c4c37b7b6a69e8b48adb3dc24d97bd9f9aee
|
|
BLAKE2b-256 checksum How to use checksums |
343a3a64acbe824555f5fbf6ae98ed4875cb0d4c66b26063c7780c86a857f08f
|
| 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.20
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.