Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add vm_context to EVM hooks #1119

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

Merged
merged 2 commits into from
Mar 25, 2022
Merged

Add vm_context to EVM hooks #1119

merged 2 commits into from
Mar 25, 2022

Conversation

TheZ3ro
Copy link
Contributor

@TheZ3ro TheZ3ro commented Mar 24, 2022

Checklist

Which kind of PR do you create?

  • This PR only contains minor fixes.
  • This PR contains major feature update.
  • This PR introduces a new function/api for Qiling Framework.

Coding convention?

  • The new code conforms to Qiling Framework naming convention.
  • The imports are arranged properly.
  • Essential comments are added.
  • The reference of the new code is pointed out.

Extra tests?

  • No extra tests are needed for this PR.
  • I have added enough tests for this PR.
  • Tests will be added after some discussion and review.

Changelog?

  • This PR doesn't need to update Changelog.
  • Changelog will be updated after some proper review.
  • Changelog has been updated in my PR.

Target branch?

  • The target branch is dev branch.

One last thing


This PR allow the use of the vm_context variable inside hooks for the EVM arch.
This will allow users to access all the EVM properties like the PC, disassembler code, stack, memory and storage.

@TheZ3ro TheZ3ro changed the title Evm Add vm_context to EVM hooks Mar 24, 2022
@TheZ3ro TheZ3ro requested a review from kabeor March 25, 2022 08:33
@TheZ3ro
Copy link
Contributor Author

TheZ3ro commented Mar 25, 2022

sorry @kabeor I didn't mean to re-request a review from you

@xwings xwings merged commit 63fc062 into qilingframework:dev Mar 25, 2022
@TheZ3ro TheZ3ro deleted the evm branch March 25, 2022 16:26
@TheZ3ro TheZ3ro restored the evm branch October 11, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants