[webkit-changes] [WebKit/WebKit] 1c884d: [JSC] Add lowest/highest accessible address functions

Yusuke Suzuki noreply at github.com
Sun Jan 1 21:56:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1c884ddcfc16ea40d821dd4ed28594860d7d51df
      https://github.com/WebKit/WebKit/commit/1c884ddcfc16ea40d821dd4ed28594860d7d51df
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-01-01 (Sun, 01 Jan 2023)

  Changed paths:
    M Source/JavaScriptCore/tools/Integrity.h
    M Source/WTF/WTF.xcodeproj/project.pbxproj
    A Source/WTF/wtf/AccessibleAddress.h
    M Source/WTF/wtf/CMakeLists.txt
    M Source/WTF/wtf/Threading.cpp
    M Source/WTF/wtf/WTFConfig.cpp
    M Source/WTF/wtf/WTFConfig.h

  Log Message:
  -----------
  [JSC] Add lowest/highest accessible address functions
https://bugs.webkit.org/show_bug.cgi?id=249984
rdar://103800354

Reviewed by Mark Lam.

This patch adds lowestAccessibleAddress / highestAccessibleAddress.
On Darwin, lowestAccessibleAddress gets __PAGEZERO information of process' executable.

* Source/JavaScriptCore/tools/Integrity.h:
(JSC::Integrity::isSanePointer):
* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/AccessibleAddress.cpp: Added.
(WTF::lowestAccessibleAddress):
(WTF::highestAccessibleAddress):
* Source/WTF/wtf/AccessibleAddress.h: Added.
* Source/WTF/wtf/CMakeLists.txt:

Canonical link: https://commits.webkit.org/258376@main




More information about the webkit-changes mailing list