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
- Then configure the venv using uv:
uv venv
source .venv/bin/activate
uv sync
- The image's dependency group
imageholds loci-base, which uv fetches from Bitbucket over SSH:uv lockanduv sync --group imageneed your Bitbucket SSH key with read access to loci-service-base. - 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 is built with your SSH agent and known hosts file, which fetch loci-base:
docker build --ssh default --secret id=known_hosts,src=$HOME/.ssh/known_hosts -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.25
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.25-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details for loci_service_asmslicer-1.1.25-cp312-cp312-win_amd64.whl |
| loci_service_asmslicer-1.1.25-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.25-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
| loci_service_asmslicer-1.1.25-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.25-cp312-cp312-macosx_11_0_x86_64.whl |
| loci_service_asmslicer-1.1.25-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details for loci_service_asmslicer-1.1.25-cp312-cp312-macosx_11_0_arm64.whl |
Total release size: 45.2 MB
Release files / loci_service_asmslicer-1.1.25-cp312-cp312-win_amd64.whl
| Download URL | loci_service_asmslicer-1.1.25-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c2feddfe01d22dc339a2d6f28747e8ec6b947f97b5da3519d90f44aa7569e80e
|
|
BLAKE2b-256 checksum How to use checksums |
106d4bebca41f20a0271fd319486cb827d4a440ca2761b2bbaa46474a3ddc6bb
|
| 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.25-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | loci_service_asmslicer-1.1.25-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 32.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 |
05f4ce63c495f3820312c176d54f7da9b6a06d61b0f4b5d9832177c85e3159dd
|
|
BLAKE2b-256 checksum How to use checksums |
2be4621b9a93538c259ab1279123c46d28bcd385879a39eb67d3e6958822d58b
|
| 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.25-cp312-cp312-macosx_11_0_x86_64.whl
| Download URL | loci_service_asmslicer-1.1.25-cp312-cp312-macosx_11_0_x86_64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.12 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
74cda452727bca2194ee8782c92e276407ba37f8b100082fccf5b663c4eabe97
|
|
BLAKE2b-256 checksum How to use checksums |
55ccec693af155c90b1250943f84b7982236876e568412855fb17fc5fca5113b
|
| 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.25-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | loci_service_asmslicer-1.1.25-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dfd201b4050f8aca79bfb121022ca4d9b7f2d9622175700ab4f15808a244f01b
|
|
BLAKE2b-256 checksum How to use checksums |
9a50be48b7a815e6363b5e655d4eb8801f7154266692fd4b948e9763b49eea43
|
| 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.25
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.