Skip to main content

uiCA Wrapper:

This is just a simple wrapper project around uiCA to be able to simply assemble and analyse instruction.

In comparison to the original project this project contains a class uiCA_Wrapper which can also analyse assembler instrucitons as strings or list of strings and not just assembled binary files.

Example:

test = "l: add rax, rbx; add rbx, rax; dec r15; jnz l"
o = uiCA_Wrapper(test)
t = o.run()
print(t)

Installation:

To install the package locally run:

git clone --recursive https://github.com/FloydZ/uiCA_wrapper
cd uiCA_Wrapper
./setup.sh

Note the setup.sh. This is needed to build uiCA. If you are a windoof user you can instead run

cd uiCA_Wrapper/uiCA/
./setup.cmd

Restrictions:

Currently, the throughput is calculated by the wrapper class. Everything else is ignored.

TODO:

llvm_mca wrapper:

  • pass all global information to the code regions, s.t. the same views can be generated.
  • instruction: add information like throughput, latency. get from another python package

Metadata

Release files for machine-code-analyzer 0.1.0

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

Source distribution (sdist)

Source distribution for machine-code-analyzer 0.1.0
File Size Uploaded
machine_code_analyzer-0.1.0.tar.gz 877.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for machine-code-analyzer 0.1.0
File Interpreter ABI Platform
machine_code_analyzer-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.8 MB

Release files / machine_code_analyzer-0.1.0.tar.gz

Download URL machine_code_analyzer-0.1.0.tar.gz
Size 877.5 kB
Tags Source
SHA-256 checksum
How to use checksums
530528e76673d0c7975cca1247632fdb3601e61f7e8afe4921c9d18dbbc73791
BLAKE2b-256 checksum
How to use checksums
922bf8641830397d5e276dd9d538580f272dd7dbb7889db7da76e140f2f12a29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2025.

Transparency log

Release files / machine_code_analyzer-0.1.0-py3-none-any.whl

Download URL machine_code_analyzer-0.1.0-py3-none-any.whl
Size 931.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7aeeb2e28edf2a209e8d84d3f4d15a0b2c039761617acf83a2b85c51a2023b53
BLAKE2b-256 checksum
How to use checksums
1701dbf08a007c2f3a338db16ef32d27bee7ff3eac85933fe92890343cd1f97f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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