Skip to content

Add vm_context to EVM hooks#1119

Merged
xwings merged 2 commits intoqilingframework:devfrom
TheZ3ro:evm
Mar 25, 2022
Merged

Add vm_context to EVM hooks#1119
xwings merged 2 commits intoqilingframework:devfrom
TheZ3ro:evm

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