author Tim Huang <>
Tue, 12 Dec 2017 15:25:49 -0600
changeset 398586 9c586454144b4eef9e9a8ab53e3d1a8c3f84ac3c
parent 356300 ab0c15933c749f9c8cac1b7f774bbe0cc5addfab
child 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1404608 - Reveal the real operating system when fingerprinting resistance is enabled. r=arthuredelstein,smaug This patch makes Firefox not to lie about the real operating system when pref 'privacy.resistFingerprinting' is true. This will also change the testcase as well. MozReview-Commit-ID: Gdnp2lMU3wr

#ifndef mozilla_StackWalk_windows_h
#define mozilla_StackWalk_windows_h

#include "mozilla/Types.h"

#ifdef _M_AMD64
 * Allow stack walkers to work around the egregious win64 dynamic lookup table
 * list API by locking around SuspendThread to avoid deadlock.
 * See comment in StackWalk.cpp
struct MOZ_RAII AutoSuppressStackWalking
  MFBT_API AutoSuppressStackWalking();
  MFBT_API ~AutoSuppressStackWalking();

RegisterJitCodeRegion(uint8_t* aStart, size_t size);

UnregisterJitCodeRegion(uint8_t* aStart, size_t size);
#endif // _M_AMD64

#endif // mozilla_StackWalk_windows_h