syzkaller/sys/test
Dmitry Vyukov 986fa4971c prog: don't squash objects that contain pointers
Squashing pointers creates several problems:
- we need to generate pointer types on the fly,
  something we don't do in any other contexts,
  it complicates other changes
- pointers are very special as values,
  if we change size of the surrounding blobs,
  offsets changes and we will use something that's
  not a pointer as pointer and vise versa,
  boths things are most likley very bad as inputs
- squashing/any implementation is just too complex

This disqualifies several types for squashing:

    <         alloc_pd_cmd
    <         arpt_replace
    <         array[cmsghdr_rds]
    <         create_cq_cmd
    <         create_flow_cmd
    <         create_qp_cmd
    <         create_srq_cmd
    <         ebt_counters_info
    <         ip6t_replace
    <         ipt_replace
    <         mlx5_alloc_pd_cmd
    <         mlx5_create_dv_qp_cmd
    <         open_xrcd_cmd
    <         post_recv_cmd
    <         post_send_cmd
    <         post_srq_recv_cmd
    <         query_qp_cmd
    <         query_srq_cmd
    <         reg_mr_cmd
    <         rereg_mr_cmd
    <         resize_cq_cmd
    <         usbdevfs_urb
    <         vhost_memory
    <         vusb_connect_descriptors

and adds few new:

    >         binder_objects
    >         query_qp_resp
    >         resize_cq_resp
    >         usb_bos_descriptor
    >         usb_string_descriptor

Overall this looks sane.
Majority is still unchanged.
2020-05-01 13:31:17 +02:00
..
test sys/linux: fix 2 netlink data layout bugs 2020-01-07 10:02:10 +01:00
any.txt prog: don't squash objects that contain pointers 2020-05-01 13:31:17 +02:00
exec.txt pkg/compiler: refactor attribute handling 2020-04-19 10:26:57 +02:00
fmt.txt executor: fix handling of big-endian bitfields 2018-12-08 19:08:08 +01:00
init.go prog: refactor target.MakeMmap 2020-04-18 14:35:45 +02:00
test_32_fork_shmem.const executor: overhaul 2018-07-24 12:04:27 +02:00
test_32_shmem.const executor: overhaul 2018-07-24 12:04:27 +02:00
test_64_fork.const executor: overhaul 2018-07-24 12:04:27 +02:00
test_64.const pkg/compiler: don't specify syscall consts for test OS 2020-03-17 21:19:13 +01:00
test.txt prog: add ignore_return and breaks_returns call attribtues 2020-04-19 10:26:57 +02:00