toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/x86_imm.h

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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.

     1 #ifndef x86_IMM_H
     2 #define x86_IMM_H
     4 #include "./qword.h"
     5 #include <sys/types.h>
     7 #ifdef WIN32
     8 #include <windows.h>
     9 #endif
    11 /* these are in the global x86 namespace but are not a part of the
    12  * official API */
    13 unsigned int x86_imm_sized( unsigned char *buf, size_t buf_len, void *dest,
    14 			    unsigned int size );
    16 unsigned int x86_imm_signsized( unsigned char *buf, size_t buf_len, void *dest,
    17 				unsigned int size );
    18 #endif

mercurial