blob: 3038318821dd1988279eb27d8b21b85474599ed1 [file] [log] [blame]
Tom Andersonda42e5f82017-10-26 23:43:181{
2global:
3 __bss_start;
4 __data_start;
5 data_start;
6 _edata;
7 _end;
8 _IO_stdin_used;
9
10 # Initialization and finalization functions for static global
11 # variables.
12 _fini;
13 _init;
14 __libc_csu_fini;
15 __libc_csu_init;
16
17 # Chrome's main function. Exported for historical purposes.
18 ChromeMain;
19
20 # Program entry point.
21 _start;
22
23 # Memory allocation symbols. We want chrome and any libraries to
24 # share the same heap, so it is correct to export these symbols.
Benoit Lize16cfb89f2022-02-02 19:06:5025 aligned_alloc;
Tom Andersonda42e5f82017-10-26 23:43:1826 calloc;
27 cfree;
28 free;
29 __free_hook;
30 __libc_calloc;
31 __libc_cfree;
32 __libc_free;
33 __libc_malloc;
34 __libc_memalign;
35 __libc_pvalloc;
36 __libc_realloc;
37 __libc_valloc;
38 mallinfo;
39 malloc;
40 __malloc_hook;
41 malloc_size;
42 malloc_stats;
43 malloc_usable_size;
44 mallopt;
45 memalign;
46 __memalign_hook;
47 __posix_memalign;
48 posix_memalign;
49 pvalloc;
50 realloc;
51 __realloc_hook;
Tom Andersonda42e5f82017-10-26 23:43:1852 valloc;
53
54 # Various flavors of operator new and operator delete.
55 _ZdaPv;
56 _ZdaPvm;
57 _ZdaPvmSt11align_val_t;
58 _ZdaPvRKSt9nothrow_t;
59 _ZdaPvSt11align_val_t;
60 _ZdaPvSt11align_val_tRKSt9nothrow_t;
61 _ZdlPv;
62 _ZdlPvm;
63 _ZdlPvmSt11align_val_t;
64 _ZdlPvRKSt9nothrow_t;
65 _ZdlPvSt11align_val_t;
66 _ZdlPvSt11align_val_tRKSt9nothrow_t;
67 _Znam;
68 _ZnamRKSt9nothrow_t;
69 _ZnamSt11align_val_t;
70 _ZnamSt11align_val_tRKSt9nothrow_t;
71 _Znwm;
72 _ZnwmRKSt9nothrow_t;
73 _ZnwmSt11align_val_t;
74 _ZnwmSt11align_val_tRKSt9nothrow_t;
75
76 # Various flavors of localtime(). These are exported by the chrome
77 # sandbox to intercept calls to localtime(), which would otherwise
78 # fail in untrusted processes that don't have permission to read
79 # /etc/localtime. These overrides forward the request to the browser
80 # process, which uses dlsym(localtime) to make the real calls.
81 localtime;
82 localtime64;
83 localtime64_r;
84 localtime_r;
85
Matthew Dentona3c866e72022-10-13 00:37:1386 # getaddrinfo() is exported by the sandbox to ensure the network service and
87 # other sandboxed processes don't try to run system DNS resolution
88 # in-process, which is not supported by the sandbox. This override
89 # uses dlsym(getaddrinfo) to make the real calls in unsandboxed
90 # processes.
91 getaddrinfo;
92
Robert O'Callahan68e3f7c2020-11-16 23:40:3693 v8dbg_*;
94
Tom Andersonda42e5f82017-10-26 23:43:1895local:
96 *;
97};