nuttx/include
Masayuki Ishikawa 0cef7b765e binfmt: Fix memory leak in ELF loader
Summary:
- I noticed that the hello (ELF) application causes a memory leak.
- Finally, I found that the data section is not deallocated.
- This commit fixes this issue.

Impact:
- ELF loader with CONFIG_ARCH_ADDRENV=n

Testing:
- Tested with the following configs
  - sprensense:elf, esp32-devkitc:elf, sabre-6quad:elf
  - spresense:wifi_smp, rv-virt:nsh64, sabre-6quad:netnsh

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-23 14:34:27 +08:00
..
arpa
cxx include/cxx: Remove all non standard c++ header files 2022-06-16 15:42:45 +03:00
net wireless/ieee802154: Don't set IFF_DOWN in mac802154netdev_register 2022-07-19 11:09:16 +03:00
netinet Use builtins for byteswapping 2022-06-29 11:32:59 +08:00
netpacket netpacket/sockaddr_ll: complete the members of sockaddr_ll 2022-06-03 13:04:09 +08:00
nuttx binfmt: Fix memory leak in ELF loader 2022-07-23 14:34:27 +08:00
ssp add ssp.h 2022-01-29 01:04:23 +08:00
sys fs/ioctl: add BLKSSZGET cmd to get block sector size 2022-07-22 09:07:57 +03:00
.gitignore
aio.h Change dpends on SCHED_[L|H]PWORK to SCHED_WORKQUEUE 2022-05-28 18:41:51 +03:00
alloca.h
assert.h assert: static_assert is not support in c standard C89,C99. 2022-04-21 23:11:21 +08:00
byteswap.h
crc8.h
crc16.h
crc32.h
crc64.h
ctype.h
debug.h Add printflike and scanflike to all printf/scanf like functions 2022-07-18 14:14:36 +03:00
dirent.h
dlfcn.h
dsp.h libdsp: initialize flux_link in params, remove flux_link from pmsm_phy_params 2022-02-20 21:58:10 +08:00
dspb16.h libdsp: port lib_observer.c to b16 2022-02-20 21:58:10 +08:00
elf32.h
elf64.h
elf.h
endian.h Use builtins for byteswapping 2022-06-29 11:32:59 +08:00
err.h Add printflike and scanflike to all printf/scanf like functions 2022-07-18 14:14:36 +03:00
errno.h
execinfo.h
fcntl.h fs: Make the binary(no process) mode as the default 2022-06-07 20:22:26 +03:00
fixedmath.h
fnmatch.h
ftw.h
getopt.h
glob.h
grp.h
hex2bin.h
ifaddrs.h
inttypes.h
iso646.h
langinfo.h
libgen.h
libintl.h
limits.h unistd:rename CONFIG_OPEN_MAX to CONFIG_LIBC_OPEN_MAX 2022-04-01 22:10:51 +08:00
locale.h
lzf.h
malloc.h mm: Fixed the usage of CONFIG_MM_BACKTRACE & CONFIG_DEBUG_MM. 2022-07-22 00:53:02 +08:00
mqueue.h
netdb.h
nl_types.h
nxflat.h
poll.h
pthread.h Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
pty.h
pwd.h
queue.h
resolv.h Add dn resolution function 2022-03-17 09:37:15 +02:00
sched.h
semaphore.h semphore: release all semphores' holder that the task held when exit 2022-02-13 03:20:51 +08:00
signal.h signal: add define of SIGHUP/SIGTTIN 2022-06-03 12:50:14 +08:00
spawn.h libc: Implement execvp, execlp and execvpe as macro 2022-04-22 10:40:31 +03:00
stdbool.h libc: Remove C99_BOOL8 from libs/libxx/Kconfig 2022-05-05 16:23:32 -03:00
stddef.h
stdint.h include/wchar.h: Remove NULL macro from it 2022-06-03 22:25:49 +03:00
stdio.h
stdlib.h environ: Don't expose get_environ_ptr in csdlib 2022-04-21 22:55:47 +03:00
stdnoreturn.h
string.h libs/libc/string: add memmem 2022-07-22 19:04:11 +03:00
strings.h Remove the unneeded void cast 2022-04-17 23:32:05 +03:00
syscall.h arch: Remove SYS_RESERVED from Kconfg 2022-02-27 22:54:13 +08:00
syslog.h
termios.h
threads.h
time.h libc/time: rearrange itimerspec struct elements 2022-06-03 13:04:25 +08:00
unistd.h libc: Implement execvp, execlp and execvpe as macro 2022-04-22 10:40:31 +03:00
utime.h
uuid.h
wchar.h arch: Define WCHAR_[MIN|MAX] in arch/include/limits.h 2022-06-03 22:25:49 +03:00
wctype.h