Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Conversation

@DreamWuGit
Copy link

@DreamWuGit DreamWuGit commented Jun 7, 2024

Description

update cur and next memory_word_size in test.

Issue Link

[link issue here]

@DreamWuGit DreamWuGit marked this pull request as ready for review June 7, 2024 09:02
@lispc lispc merged commit c1654c6 into audit_memory_copy Jun 7, 2024
@lispc lispc deleted the improve_test branch June 7, 2024 13:44
lispc pushed a commit that referenced this pull request Jun 11, 2024
* constrain src_len = dst_len

* add src_endset when calculate mcopy expansion gadget

* add field

* assign memory_expansion_mcopy

* fix fmt

* assign is_mcopy

* fix addr assign order

* fix clippy

* minor comment

* Auditing improvement:  test new_for_mcopy (#1326)

* improve test new_for_mcopy

* adjust next_memory_word_size

* remove comment

* update cur_memory_word_size zero
lispc added a commit that referenced this pull request Jun 17, 2024
* constrain src_len = dst_len

* add src_endset when calculate mcopy expansion gadget

* add field

* assign memory_expansion_mcopy

* fix fmt

* assign is_mcopy

* fix addr assign order

* fix clippy

* minor comment

* Auditing improvement:  test new_for_mcopy (#1326)

* improve test new_for_mcopy

* adjust next_memory_word_size

* remove comment

* update cur_memory_word_size zero

* add test dst_offset > src_offset

* rename test

* add u64 max test

* add mcopy max expanded address test

* revert comment

* refactor MemoryAddrExpandGadget preparing for negative test

* impl MathGadgetContainer

* negative test test_invlaid_src_offset_length

* add test_invlaid_src_offset_length_nonmcopy

* remove comments

* minor

* fix clippy

* move assert_error_matches to test_util

* fix typo

---------

Co-authored-by: Zhang Zhuo <mycinbrin@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants