1. 24 Sep, 2015 7 commits
  2. 23 Sep, 2015 2 commits
  3. 21 Sep, 2015 15 commits
  4. 18 Sep, 2015 2 commits
  5. 17 Sep, 2015 4 commits
  6. 16 Sep, 2015 8 commits
  7. 15 Sep, 2015 2 commits
    • 4ast's avatar
      Merge pull request #218 from iovisor/bblanco_dev · 2d75aa0d
      4ast authored
      Translate multiple pointer dereference into bpr_probe_read
      2d75aa0d
    • Brenden Blanco's avatar
      Translate multiple pointer dereference into bpr_probe_read · 70fa0a1c
      Brenden Blanco authored
      This commit adds support for multiple consecutive and nested pointer
      dereference of function arguments that should be converted to
      bpf_probe_read. The logic works by marking variables as needing a
      probe_read if they come from the register argument, and then applying
      this property transitively.
      
      Supported syntax:
      ```
      int trace_entry(struct pt_regs *ctx, struct file *file) {
          struct vfsmount *mnt = file->f_path.mnt;
          struct super_block *k = mnt->mnt_sb;
          const char *name = file->f_path.dentry->d_name.name;
      ```
      
      Not supported: probe reads from map leaves, probe reads after explicit casts.
      
      Fixes: #188
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      70fa0a1c