Skip to content

Commit

Permalink
docs: fix rpaths example
Browse files Browse the repository at this point in the history
  • Loading branch information
latonis committed Dec 18, 2024
1 parent 047ba62 commit 1f7db2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/content/blog/leveraging-macho-module/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ import "macho"
rule rpath_iter {
condition:
for any rpath in rpaths:
for any rpath in rpaths: (
rpath contains "lib/swift/macosx"
)
}
```

Expand All @@ -146,7 +147,7 @@ To iterate through the dylibs loaded in the Mach-O binary, one can iterate throu
```yara
import "macho"
rule libsystem_use {
rule library_dylib_location {
condition:
for any d in macho.dylibs: (
d.name contains "/Library/"
Expand Down

0 comments on commit 1f7db2e

Please sign in to comment.