How to hack unordered_map in GNU C++20 (64)?

Revision en2, by zc2707, 2024-02-27 20:39:14

I read Blowing up unordered_map, and how to stop getting hacked on it but it doesn't work for GNU C++20 (64). Custom invocation of the hack shown in the blog shows:

x = 107897: 0.064 seconds, sum = 2666686666700000
x = 126271: 0.055 seconds, sum = 2666686666700000

which means that this hack doesn't work.

Tags hack, anti-hash, hash, hacking

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English zc2707 2024-02-27 20:39:14 5
en1 English zc2707 2024-02-27 20:37:40 412 Initial revision (published)