summaryrefslogtreecommitdiff
path: root/tool/leaked-globals
AgeCommit message (Collapse)Author
2024-02-07Ignore _odr_asan symbols in leaked-globalsKJ Tsanaktsidis
ASAN includes these to detect violations of the ODR rule. [Bug #20221]
2024-02-02Prefer `IO.popen` over `IO.foreach` with `|`Nobuyoshi Nakada
2024-02-02leaked-globals: More accurately extract checked function namesNobuyoshi Nakada
2024-01-17Skip checking for symbol leaks in libruby.so linking extensionsNobuyoshi Nakada
The libruby.so linking extension libraries contain symbols exported from extension libraries, and is not subject of test-leaked-globals.
2023-10-14Ignore symbols even in empty shared libraryNobuyoshi Nakada
On some platforms, such as FreeBSD and Oracle Linux, symbols defined in the crt0 setup routine are exported from shared libraries. So ignore the symbols that would be exported even in an empty shared library.
2023-10-12Fix leaked symbols on FreeBSD [ci skip]Nobuyoshi Nakada
2023-09-27Rename YARP symbols to prismKevin Newton
2023-07-08leaked-globals: check leaked symbols in libruby.so if enable-sharedNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8040
2023-07-08leaked-globals: ignore Address Sanitizer symbolsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8040
2023-06-21[Feature #19741] Add yarp to buildsJemma Issroff
Add yarp to common.mk and windows builds to enable us to run yarp correctly with CI. Notes: Merged: https://github.com/ruby/ruby/pull/7964
2023-04-08Include `--no-llvm-bc` option in `NM` macro only if usableNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7677
2023-04-02leaked-globals: check for nm before files under missing [ci skip]Nobuyoshi Nakada
Abort if `nm` is not available, since it is needed by configure.ac to check for prefix of external symbols.
2023-04-02leaked-globals: colorize skipping file names [ci skip]Nobuyoshi Nakada
2023-03-08RJIT: Stop allowing leaked globals rjit_*Takashi Kokubun
2023-03-06s/mjit/rjit/Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7462
2023-01-27YJIT: Fix shared/static library symbol leaksAlan Wu
Rust 1.58.0 unfortunately doesn't provide facilities to control symbol visibility/presence, but we care about controlling the list of symbols exported from libruby-static.a and libruby.so. This commit uses `ld -r` to make a single object out of rustc's staticlib output, libyjit.a. This moves libyjit.a out of MAINLIBS and adds libyjit.o into COMMONOBJS, which obviates the code for merging libyjit.a into libruby-static.a. The odd appearance of libyjit.a in SOLIBS is also gone. To filter out symbols we do not want to export on ELF platforms, we use objcopy after the partial link. On darwin, we supply a symbol list to the linker which takes care of hiding unprefixed symbols. [Bug #19255] Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/7115
2023-01-21tool/leaked-globals: ignore function typedef [ci skip]Nobuyoshi Nakada
2020-12-29Canonicalization functions were removed alreadyNobuyoshi Nakada
At b958e2add835d62c0a62edaf9a23ecbbd70a3635
2020-12-27Ignore symbols declared in the platform headerNobuyoshi Nakada
2020-12-27Ignore objects from the "missing" directoryNobuyoshi Nakada
2020-12-27Get rid of \K for old BASERUBYs which have a bug in String#scanNobuyoshi Nakada
2020-12-27Exclude entry pointsNobuyoshi Nakada
2020-12-27Support AC_FUNC_MEMCMPNobuyoshi Nakada
2020-06-04Update leaked-globals [Bug #16934]Nobuyoshi Nakada
* match uppercase types which would be global, other than [BDT] * ignore `RUBY_` prefixed symbols
2019-09-22st.c: Use rb_st_* prefix instead of st_* (#2479)Yusuke Endoh
The original st.c was public domain hash table implementation, but Ruby's st.c is highly modified, and its data structure is not compatiblie with the original one. Therefore, when creating an extension library to wrap C code that uses the original st.c, the symbols conflict, which leads to segfault. This changes the prefix `st_*` of st.c functions to `rb_st_*` for reflecting that they are specific to Ruby's, and avoid symbol conflicts. Notes: Merged-By: mame <mame@ruby-lang.org>
2019-07-15Put colorize to library directory.Hiroshi SHIBATA
Same as 66299e7ca83d379d13abaa5411f3e0419334cabb
2019-05-16leaked-globals: check if un-prefixed symbols leak externallyNobuyoshi Nakada