A simple wrapper class around uiCA and llvm-mca, for easier analysing
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file machine_code_analyzer-0.1.0.tar.gz.
File metadata
- Download URL: machine_code_analyzer-0.1.0.tar.gz
- Upload date:
- Size: 877.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
530528e76673d0c7975cca1247632fdb3601e61f7e8afe4921c9d18dbbc73791
|
|
| MD5 |
2a50a2f85539915c3f0af3b304ddb60c
|
|
| BLAKE2b-256 |
922bf8641830397d5e276dd9d538580f272dd7dbb7889db7da76e140f2f12a29
|
Provenance
The following attestation bundles were made for machine_code_analyzer-0.1.0.tar.gz:
Publisher:
publish.yml on FloydZ/uiCA_wrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
machine_code_analyzer-0.1.0.tar.gz -
Subject digest:
530528e76673d0c7975cca1247632fdb3601e61f7e8afe4921c9d18dbbc73791 - Sigstore transparency entry: 213370701
- Sigstore integration time:
-
Permalink:
FloydZ/uiCA_wrapper@c3f6abc2c03e7e415bc226b96126d7bf98f5a267 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/FloydZ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c3f6abc2c03e7e415bc226b96126d7bf98f5a267 -
Trigger Event:
release
-
Statement type:
File details
Details for the file machine_code_analyzer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: machine_code_analyzer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 931.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7aeeb2e28edf2a209e8d84d3f4d15a0b2c039761617acf83a2b85c51a2023b53
|
|
| MD5 |
7955a4972de47d2600a9ad893e3afd0a
|
|
| BLAKE2b-256 |
1701dbf08a007c2f3a338db16ef32d27bee7ff3eac85933fe92890343cd1f97f
|
Provenance
The following attestation bundles were made for machine_code_analyzer-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on FloydZ/uiCA_wrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
machine_code_analyzer-0.1.0-py3-none-any.whl -
Subject digest:
7aeeb2e28edf2a209e8d84d3f4d15a0b2c039761617acf83a2b85c51a2023b53 - Sigstore transparency entry: 213370703
- Sigstore integration time:
-
Permalink:
FloydZ/uiCA_wrapper@c3f6abc2c03e7e415bc226b96126d7bf98f5a267 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/FloydZ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c3f6abc2c03e7e415bc226b96126d7bf98f5a267 -
Trigger Event:
release
-
Statement type: