Skip to content

Commit

Permalink
missed a filter
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Jun 9, 2022
1 parent 3497a5d commit 6050bc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified pkg/sandbox/data/libsandbox_13.0.0.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion pkg/sandbox/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func GetFilterInfo(d *dyld.File) ([]FilterInfo, error) {
}

// TODO: maybe get filter info count from xref to _lookup_filter_info (is 0x56 in test libsandbox)
NUM_INFO_ENTRIES := 0x56
NUM_INFO_ENTRIES := 0x57
dat, err := d.ReadBytesForUUID(uuid, int64(filterInfoOff), uint64((NUM_INFO_ENTRIES)*binary.Size(filterInfo{})))
if err != nil {
return nil, fmt.Errorf("failed to read _filter_info data: %w", err)
Expand Down

0 comments on commit 6050bc0

Please sign in to comment.