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

compare effects without encoding #87

Merged
merged 1 commit into from
Oct 10, 2024
Merged

compare effects without encoding #87

merged 1 commit into from
Oct 10, 2024

Conversation

0x0ece
Copy link
Contributor

@0x0ece 0x0ece commented Oct 10, 2024

Also included new encoding for large binary e.g. stack & heap. This is an example of a failed test, where switching between 2 files makes it pretty evident where the difference is in the stack:

Result 1:

4d680fa93aa5104ad10e1e084b0b91693588ecf9_2256968:
cu_avail: 242729
heap: "...5885 zeros..."
stack: "...4080 zeros...000000000000000000000000c8c79359...231360 zeros...0000000000002dceffa69837808a4fd9...231360 zeros...91a4194a78eaead94495a22c8578b8cd...231360 zeros...0c2caf62a8ac1418d80fd1af6a4b93ec...231360 zeros...5a657bdbf597d1cada68940820fef3bf...231360 zeros...da7a2a51c15400000000000000000000...262048 zeros..."
rodata: "2dceffa69837808a4fd991a4194a78eaead94495a22c8578b8cd0c2caf62a8ac"
input_data_regions {
  content: "(9\351\315\264.#o\327\005\027]\014Gv\341\007.\367\223/\202j\275\270P\222g\2154\362\031\000\313|\260n\"\227\324B\264\356\227\354\275\205\321\021\211\315\267\250\304\\\237K\256Q\250\022V\2608"
}

Result 2:

4d680fa93aa5104ad10e1e084b0b91693588ecf9_2256968:
cu_avail: 242729
heap: "...5885 zeros..."
stack: "...4080 zeros...000000000000000000000000c8c79359...460736 zeros...0000000000002dceffa69837808a4fd9...460736 zeros...91a4194a78eaead94495a22c8578b8cd...460736 zeros...0c2caf62a8ac1418d80fd1af6a4b93ec...460736 zeros...5a657bdbf597d1cada68940820fef3bf...460736 zeros...da7a2a51c15400000000000000000000...524192 zeros..."
rodata: "2dceffa69837808a4fd991a4194a78eaead94495a22c8578b8cd0c2caf62a8ac"
input_data_regions {
  content: "(9\351\315\264.#o\327\005\027]\014Gv\341\007.\367\223/\202j\275\270P\222g\2154\362\031\000\313|\260n\"\227\324B\264\356\227\354\275\205\321\021\211\315\267\250\304\\\237K\256Q\250\022V\2608"
}

@0x0ece 0x0ece merged commit e3c23c3 into main Oct 10, 2024
1 check passed
@0x0ece 0x0ece deleted the 0x0ece/cmp branch October 10, 2024 21:55
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.

2 participants