Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw bytecode analyser improvement proposals #829

Open
arianejasuwienas opened this issue Jun 27, 2024 · 0 comments
Open

Raw bytecode analyser improvement proposals #829

arianejasuwienas opened this issue Jun 27, 2024 · 0 comments
Labels
ArianeLabs Items ArianeLabs is contributing to enhancement New feature or request Tooling tooling

Comments

@arianejasuwienas
Copy link
Contributor

arianejasuwienas commented Jun 27, 2024

Problem

The current bytecode analysing script requires manual editing. Users must manually calculate and input function selector hashes. The script can only process one address at a time.

Solution

Current proposals of improving the bytecode analysing script are as follows:

  • Parametrize the searched values: Currently, you have to edit the Python script to search for something else. We propose making this more flexible.
  • Accept function signatures instead of function selector hashes: The current solution requires users to calculate the hash on their own before using it. We suggest allowing function signatures as input.
  • Accept a file with multiple addresses as input: Instead of one address, the script could process a file with multiple addresses. What should be the format of this file? Can you generate a simple file with addresses separated by \n characters, or could we get access to create this file ourselves?
  • Enable cascade runs: Allow the script to run multiple times to determine the likelihood that a Smart Contract makes a call to a precompile indirectly through another Smart Contract.

Alternatives

No response

@arianejasuwienas arianejasuwienas added enhancement New feature or request Tooling tooling labels Jun 27, 2024
@Nana-EC Nana-EC added the ArianeLabs Items ArianeLabs is contributing to label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ArianeLabs Items ArianeLabs is contributing to enhancement New feature or request Tooling tooling
Projects
None yet
Development

No branches or pull requests

2 participants