Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
SkASAN.h File Reference
#include <cstddef>

Go to the source code of this file.

Functions

static void sk_asan_poison_memory_region (void const volatile *addr, size_t size)
 
static void sk_asan_unpoison_memory_region (void const volatile *addr, size_t size)
 
static int sk_asan_address_is_poisoned (void const volatile *addr)
 

Function Documentation

◆ sk_asan_address_is_poisoned()

static int sk_asan_address_is_poisoned ( void const volatile *  addr)
inlinestatic

Definition at line 48 of file SkASAN.h.

48 {
49#ifdef SK_SANITIZE_ADDRESS
50 return __asan_address_is_poisoned(addr);
51#else
52 return 0;
53#endif
54}

◆ sk_asan_poison_memory_region()

static void sk_asan_poison_memory_region ( void const volatile *  addr,
size_t  size 
)
inlinestatic

Definition at line 34 of file SkASAN.h.

35 {
36#ifdef SK_SANITIZE_ADDRESS
37 __asan_poison_memory_region(addr, size);
38#endif
39}
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259

◆ sk_asan_unpoison_memory_region()

static void sk_asan_unpoison_memory_region ( void const volatile *  addr,
size_t  size 
)
inlinestatic

Definition at line 41 of file SkASAN.h.

42 {
43#ifdef SK_SANITIZE_ADDRESS
44 __asan_unpoison_memory_region(addr, size);
45#endif
46}