[DTrace-devel] [oracle/dtrace-utils] 3ee0e3: cg: fix ALLOCA taint propagation for struct/union ...
Kris Van Hees
noreply at github.com
Thu Jul 27 15:28:37 UTC 2023
Branch: refs/heads/kvh/2.0-branch-dev-ip
Home: https://github.com/oracle/dtrace-utils
Commit: 3ee0e37c7665c357575c4f045b266ab67bb58d71
https://github.com/oracle/dtrace-utils/commit/3ee0e37c7665c357575c4f045b266ab67bb58d71
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M libdtrace/dt_parser.c
A test/unittest/codegen/tst.alloca-taint-sou-access.d
Log Message:
-----------
cg: fix ALLOCA taint propagation for struct/union member access
When alloca'd memory stores a struct or union, lvalues that represent
members in that struct or union should also be marked as pointers to
alloca'd memory.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Commit: ab93e57be4b58cac03277ef9683699eebf239464
https://github.com/oracle/dtrace-utils/commit/ab93e57be4b58cac03277ef9683699eebf239464
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M bpf/basename.S
M bpf/dirname.S
M bpf/inet_ntoa.S
M bpf/lltostr.S
M libdtrace/dt_cg.c
Log Message:
-----------
cg, bpf: Pass dctx as first arg in arg-to-tstring subroutines
Passing a pointer to the DTrace context (dctx) enables subroutines
called through arg-to-tstring to report faults if necessary. It also
gives the implementation of these subroutines access to context data.
(None use that as of yet, but e.g. inet_ntoa6() is expected to need
it.)
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: 8b952dec6e983b74498442b18a8f910e2ad95e48
https://github.com/oracle/dtrace-utils/commit/8b952dec6e983b74498442b18a8f910e2ad95e48
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M libdtrace/dt_strtab.c
M libdtrace/dt_strtab.h
Log Message:
-----------
strtab: make internal structures private
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: f7c58a3a8335cbe6c897d660bc47b78da4438f66
https://github.com/oracle/dtrace-utils/commit/f7c58a3a8335cbe6c897d660bc47b78da4438f66
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M libdtrace/Build
M libdtrace/dt_bpf.c
M libdtrace/dt_bpf.h
M libdtrace/dt_cc.c
M libdtrace/dt_cg.c
M libdtrace/dt_dctx.h
M libdtrace/dt_dlibs.c
M libdtrace/dt_impl.h
M libdtrace/dt_open.c
A libdtrace/dt_rodata.c
A libdtrace/dt_rodata.h
M libdtrace/dt_subr.c
Log Message:
-----------
Add rodata support
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: f0a9f62aec5c8d039238402341095d8298470d8d
https://github.com/oracle/dtrace-utils/commit/f0a9f62aec5c8d039238402341095d8298470d8d
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M include/port.h
M libdtrace/dt_cc.c
Log Message:
-----------
Add support for R_BPF_INSN_32 relocations
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 1a7e974cdf63591de9a7ebaf128030dba48e0db1
https://github.com/oracle/dtrace-utils/commit/1a7e974cdf63591de9a7ebaf128030dba48e0db1
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M libdtrace/dt_cg.c
Log Message:
-----------
cg: optional 4th arg for dt_cg_subr_arg_to_tstring() calls
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 772334d609d2243a3bb9262e6212b26a146af60b
https://github.com/oracle/dtrace-utils/commit/772334d609d2243a3bb9262e6212b26a146af60b
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M libdtrace/dt_cg.c
A test/unittest/translators/tst.NullInput.d
M test/unittest/translators/tst.ProcModelTrans.d
Log Message:
-----------
cg: allow input to translator to be NULL
Some translators support NULL as input pointer value. The code generator
was performing a NULL-check on a the LHS of a PTR or DOT node before
considering the possibility that the nodemis subject to translator
handling. The check should happen after translator handling.
With this patch, tst.ProcModelTrans.d works but only for the case of
NULL input. The test is changed to actually use a real trask_struct as
input. New test tst.NullInput.d exercises the case this patch fixes.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 7c61743c7745fc340c288dede64c953c761bf37e
https://github.com/oracle/dtrace-utils/commit/7c61743c7745fc340c288dede64c953c761bf37e
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M bpf/Build
A bpf/inet_ntoa6.S
M libdtrace/dt_cg.c
M test/unittest/funcs/tst.inet_ntoa6.d
Log Message:
-----------
Add support for inet_ntoa6() subroutine
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: a20c54bfc318b880bc68329e17646ae2b721dd4a
https://github.com/oracle/dtrace-utils/commit/a20c54bfc318b880bc68329e17646ae2b721dd4a
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-07-27 (Thu, 27 Jul 2023)
Changed paths:
M libdtrace/Build
M libdtrace/dt_open.c
A libdtrace/dt_prov_ip.c
M libdtrace/dt_provider.h
M libdtrace/ip.d
M test/unittest/funcs/tst.inet_ntoa.d
Log Message:
-----------
Implement the ip provider
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Compare: https://github.com/oracle/dtrace-utils/compare/c072f13136cb...a20c54bfc318
More information about the DTrace-devel
mailing list