Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0146f7f3441f8d788963818d223665fc231c74ff
      
https://github.com/WebKit/WebKit/commit/0146f7f3441f8d788963818d223665fc231c74ff
  Author: Brandon Stewart <[email protected]>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M Source/JavaScriptCore/jsc.cpp
    M Source/WTF/wtf/FastMalloc.cpp
    M Source/WTF/wtf/FastMalloc.h
    M Source/bmalloc/bmalloc/bmalloc.cpp
    M Source/bmalloc/bmalloc/bmalloc.h
    M 
Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
    M 
Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.h

  Log Message:
  -----------
  libpas: Enable easier testing of PGM crashes
https://bugs.webkit.org/show_bug.cgi?id=274863

Reviewed by David Kilzer.

Add crash test scenarios to enable automated testing of PGM crashes in libpas 
for ReportCrash.
JavaScriptCore is required to perform testing for ReportCrash, so I added it to 
the jsc binary.

The new options available are:
./jsc --crash-vm=PGMOOBLowerGuardPage
./jsc --crash-vm=PGMOOBUpperGuardPage
./jsc --crash-vm=PGMUAF

* Source/JavaScriptCore/jsc.cpp:
(printUsageStatement):
(CommandLine::parseArguments):
* Source/WTF/wtf/FastMalloc.cpp:
(WTF::forceEnablePGM):
* Source/WTF/wtf/FastMalloc.h:
* Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c:
(pas_probabilistic_guard_malloc_initialize_pgm_as_enabled):
* Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to