mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
![]() How to reproduce: >>>code int32 n = 0xF71B0000; int32 n1 = pac_swap(n); code<<< n1 becomes 0xFFFFFFF7 instead of 0x00001BF7 Reason: Undefined behaviour after bit shift operation because of negative value of the argument. See C++ standard (2011) 5.8.2 (Shift operators). |
||
---|---|---|
.. | ||
binpac |