Memory Observer pattern search: short sequences in 8/16 byte SIMD mode compare stale bytes
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start in the Memory Observer search code and find JumpToMemory, where the highlight length is currently passed as m_sequenceSize (8, 16 or 255) instead of the length of the entered sequence. Read the SIMD comparison paths for the 8- and 16-byte modes to see where the full width is compared, and check how #2606 touched the same area. Done means a short sequence such as AB matches in 8/16 byte SIMD mode without comparing stale trailing bytes.
Written by the indexing model from the issue text.
Description
In 8 or 16 byte SIMD mode the search compares the full width, so a shorter entered sequence such as AB also compares the bytes after it, and a real two-byte match can be missed. The highlight length passed to JumpToMemory is m_sequenceSize, which is 8, 16 or 255 whatever was entered. Both found while reviewing redux#2606.
- Dominant language
- C++
- Stars
- 1k
- Forks
- 158
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from grumpycoders/pcsx-redux
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
grumpycoders/pcsx-redux#2667 ·
-
Audio bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
grumpycoders/pcsx-redux#2530 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
grumpycoders/pcsx-redux#2638 ·
-
Difficulty 5/5 Over a week Newbie friendliness 32/100
grumpycoders/pcsx-redux#2539 ·
-
Other bug status: in progress
Difficulty 3/5 Half a day Newbie friendliness 68/100
grumpycoders/pcsx-redux#2535 · 1 comment ·
All issues in grumpycoders/pcsx-redux
Similar issues
-
documentation
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
GCC 15.2: -Wcast-qual warning - cast discards const qualifier from pointer target type (H5trace.c)Open
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
google/tensorstore#305 ·
-
bug module: copilot
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
MaaAssistantArknights/MaaAssistantArknights#19250 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
LadybirdBrowser/ladybird#14486 ·
Maintainers usually reply within 1 day