Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
michael@0 | 1 | #ifndef x86_IMM_H |
michael@0 | 2 | #define x86_IMM_H |
michael@0 | 3 | |
michael@0 | 4 | #include "./qword.h" |
michael@0 | 5 | #include <sys/types.h> |
michael@0 | 6 | |
michael@0 | 7 | #ifdef WIN32 |
michael@0 | 8 | #include <windows.h> |
michael@0 | 9 | #endif |
michael@0 | 10 | |
michael@0 | 11 | /* these are in the global x86 namespace but are not a part of the |
michael@0 | 12 | * official API */ |
michael@0 | 13 | unsigned int x86_imm_sized( unsigned char *buf, size_t buf_len, void *dest, |
michael@0 | 14 | unsigned int size ); |
michael@0 | 15 | |
michael@0 | 16 | unsigned int x86_imm_signsized( unsigned char *buf, size_t buf_len, void *dest, |
michael@0 | 17 | unsigned int size ); |
michael@0 | 18 | #endif |