Skip to content

Commit

Permalink
fix: change API
Browse files Browse the repository at this point in the history
Signed-off-by: Zxilly <[email protected]>
  • Loading branch information
Zxilly committed Oct 20, 2024
1 parent 8f00eb6 commit 0559b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Options struct {
func Analyze(name string, reader io.ReaderAt, size uint64, options Options) (*result.Result, error) {
slog.Info("Parsing binary...")

file, err := gore.Open(reader)
file, err := gore.OpenReader(reader)

Check warning on line 31 in internal/analyze.go

View check run for this annotation

Codecov / codecov/patch

internal/analyze.go#L31

Added line #L31 was not covered by tests
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 0559b3b

Please sign in to comment.