numam-dpdk/buildtools
Dmitry Kozlyuk 8050b61562 buildtools: allow string constant padding
Size of string constant symbol may be larger than its length
measured up to NUL terminator. In this case pmdinfogen included padding
bytes after NUL terminator in generated source, yielding incorrect code.

Always trim string data to NUL terminator while reading ELF.
It was already done for COFF because there's no symbol size.

Bugzilla ID: 720
Fixes: f0f93a7adf ("buildtools: use Python pmdinfogen")
Cc: stable@dpdk.org

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
2021-06-17 18:44:30 +02:00
..
chkincs build: change indentation in infrastructure files 2021-04-21 14:04:09 +02:00
pkg-config build: change indentation in infrastructure files 2021-04-21 14:04:09 +02:00
binutils-avx512-check.sh buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
call-sphinx-build.py
check-symbols.sh build: check symbol maps in developer mode 2021-05-19 12:51:41 +02:00
coff.py buildtools: support COFF in pmdinfogen 2021-01-25 23:23:48 +01:00
gen-pmdinfo-cfile.py buildtools: fix archive extraction for LLVM 8 2021-01-28 22:48:29 +01:00
list-dir-globs.py buildtools: fix all drivers disabled on Windows 2021-04-17 12:49:23 +02:00
map_to_win.py build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00
map-list-symbol.sh buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
meson.build build: fix default drivers list without Python 2021-05-07 15:41:45 +02:00
options-ibverbs-static.sh
pmdinfogen.py buildtools: allow string constant padding 2021-06-17 18:44:30 +02:00
symlink-drivers-solibs.sh