Skip to content

Commit

Permalink
Rename type for fields in YR_AC_TABLES structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Aug 30, 2019
1 parent 6f3e22d commit 191affb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ YARA_COPTS = YARA_MODULE_OPTS + select({
"-Ilibyara/modules",
] + YARA_CONFIG_OPTS

# Just Yara's error codes. This is useful for sandboxing as it avoids pulling
# Just YARA's error codes. This is useful for sandboxing as it avoids pulling
# in the whole library.
cc_library(
name = "yara_errors",
Expand All @@ -104,7 +104,7 @@ cc_library(
visibility = ["//visibility:public"],
)

# Yara library to be linked against.
# YARA library to be linked against.
cc_library(
name = "libyara",
srcs = [
Expand Down Expand Up @@ -247,7 +247,7 @@ cc_library(
deps = [":libyara"],
)

# Yara command-line tool
# YARA command-line tool
cc_binary(
name = "yara",
srcs = ["yara.c"],
Expand All @@ -259,7 +259,7 @@ cc_binary(
],
)

# The Yara compiler
# The YARA compiler
cc_binary(
name = "yarac",
srcs = ["yarac.c"],
Expand Down
4 changes: 2 additions & 2 deletions libyara/include/yara/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ typedef YR_AC_MATCH_TABLE_ENTRY* YR_AC_MATCH_TABLE;

struct YR_AC_TABLES
{
YR_AC_TRANSITION* transitions;
YR_AC_MATCH_TABLE_ENTRY* matches;
YR_AC_TRANSITION_TABLE transitions;
YR_AC_MATCH_TABLE matches;
};


Expand Down
2 changes: 1 addition & 1 deletion sandbox/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ load(
"sapi_library",
)

# Proto message that stores YARA matches. Used to communicate matches from
# Proto message that stores YARA matches. Used to communicate matches from
# the sandboxee to the host code.
proto_library(
name = "yara_matches",
Expand Down

0 comments on commit 191affb

Please sign in to comment.