[DTrace-devel] [oracle/dtrace-utils] f24cd1: cg: fix store/load for struct and union members fo...

Kris Van Hees noreply at github.com
Wed Aug 30 22:00:12 UTC 2023


  Branch: refs/heads/kvh/2.0-branch-dev-ip
  Home:   https://github.com/oracle/dtrace-utils
  Commit: f24cd1c7d49fb73ec8e5885afb0b50c81daaa73e
      https://github.com/oracle/dtrace-utils/commit/f24cd1c7d49fb73ec8e5885afb0b50c81daaa73e
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M libdtrace/dt_cg.c
    A test/unittest/funcs/alloca/tst.alloca-array-load.d
    A test/unittest/funcs/alloca/tst.alloca-array-store.d
    A test/unittest/funcs/alloca/tst.alloca-deref-load.d
    A test/unittest/funcs/alloca/tst.alloca-deref-store.d
    A test/unittest/funcs/alloca/tst.alloca-struct-load.d
    A test/unittest/funcs/alloca/tst.alloca-struct-store.d
    A test/unittest/funcs/alloca/tst.alloca-struct-union-load.d
    A test/unittest/funcs/alloca/tst.alloca-struct-union-store.d

  Log Message:
  -----------
  cg: fix store/load for struct and union members for alloca pointers

Storing to and loading from struct or unnion members of alloca pointers
was not properly turning the alloca pointer into a real pointer, nor was
it performing boundary checks.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>





More information about the DTrace-devel mailing list