make/tests/scripts/functions
Paul Smith 9db74434cd Clean up memory leak warnings from ASAN and Valgrind
* src/main.c (main): Add "sanitize" to .FEATURES if ASAN is enabled.
* src/expand.c (expand_variable_output): Remember "recursive" setting
in case it's changed by the expansion of the variable.
* src/file.c (rehash_file): If we drop a file from the global 'files'
hash, remember it in rehashed_files.  We can't free it because it's
still being referenced (callers will invoke check_renamed()) but
it will be a leak since it's no longer referenced by 'files'.
* src/remake.c (update_file_1): If we drop a dependency, remember it
in dropped_list.  We can't free it because it's still being referenced
by callers but it will be a leak since it's no longer referenced as
a prerequisite.
* tests/scripts/functions/guile: Don't run Guile tests when ASAN is
enabled.
* tests/scripts/functions/wildcard: Enabling ASAN causes glob(3) to
break!  Don't run this test.
* tests/scripts/features/exec: Valgrind's exec() doesn't support
scripts with no shbang.
* tests/scripts/jobserver: Valgrind fails if TMPDIR is set to an
invalid directory: skip those tests.
* tests/scripts/features/output-sync: Ditto.
* tests/scripts/features/temp_stdin: Ditto.
2023-04-01 11:13:12 -04:00
..
abspath Add test suite support to Windows 2017-06-04 18:37:20 -04:00
addprefix
addsuffix * Various fixes for problems in the 3.79.0.1 pretest. 2000-06-19 21:22:44 +00:00
andor - New code capability: a read-only string cache. Start of solution for 2006-02-10 05:29:00 +00:00
basename
call [SV 46995] Strip leading/trailing space from variable names 2016-03-23 01:25:51 -04:00
dir
error [SV 46433] Show recipe line offsets in line number messages. 2016-04-11 07:51:05 -04:00
eval Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
file [SV 17448] Ignore whitespace around $(file ...) names 2023-01-08 18:06:54 -05:00
filter-out [SV 59093] Rewrite filter/filter-out to avoid large stack usage 2020-11-13 00:44:24 -05:00
findstring
flavor Implemented the flavor function which returns the flavor of 2005-11-17 07:27:28 +00:00
foreach Apply spelling fixes discovered by Codespell 2022-12-31 13:21:09 -05:00
guile Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
if Fix bugs 5798 and 6195. 2003-11-04 07:40:29 +00:00
intcmp * src/function.c (parse_textint): Handle ints without 0 properly. 2022-01-17 19:11:59 -05:00
join
let Fix issues found by ASAN and Coverity 2022-10-31 02:23:04 -04:00
notdir
origin tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
realpath tests [WINDOWS32]: Support Strawberry Perl on Windows 2022-12-20 02:14:18 -05:00
shell [SV 62654] Support GNU Make on z/OS 2023-01-08 10:45:38 -05:00
sort [SV 46995] Strip leading/trailing space from variable names 2016-03-23 01:25:51 -04:00
strip * Various bug fixes. 2000-04-22 02:11:17 +00:00
substitution Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)), 2004-09-21 04:00:31 +00:00
suffix
value Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
warning [SV 46433] Show recipe line offsets in line number messages. 2016-04-11 07:51:05 -04:00
wildcard Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
word Use a well-known error string for out-of-bound function arguments 2021-12-19 16:34:19 -05:00