Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yara-python
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
yara-python
Commits
129c9c52
Commit
129c9c52
authored
Oct 06, 2021
by
Victor M. Alvarez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation.
parent
10cfee08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
yara-python.c
yara-python.c
+4
-3
No files found.
yara-python.c
View file @
129c9c52
...
@@ -1567,6 +1567,7 @@ static PyObject* Rules_match(
...
@@ -1567,6 +1567,7 @@ static PyObject* Rules_match(
Rules
*
object
=
(
Rules
*
)
self
;
Rules
*
object
=
(
Rules
*
)
self
;
YR_SCANNER
*
scanner
;
CALLBACK_DATA
callback_data
;
CALLBACK_DATA
callback_data
;
callback_data
.
matches
=
NULL
;
callback_data
.
matches
=
NULL
;
...
@@ -1644,12 +1645,12 @@ static PyObject* Rules_match(
...
@@ -1644,12 +1645,12 @@ static PyObject* Rules_match(
}
}
}
}
YR_SCANNER
*
scanner
;
if
(
yr_scanner_create
(
object
->
rules
,
&
scanner
)
!=
0
)
if
(
yr_scanner_create
(
object
->
rules
,
&
scanner
)
!=
0
)
{
{
return
PyErr_Format
(
return
PyErr_Format
(
PyExc_Exception
,
PyExc_Exception
,
"could not create scanner"
);
"could not create scanner"
);
}
}
if
(
externals
!=
NULL
&&
externals
!=
Py_None
)
if
(
externals
!=
NULL
&&
externals
!=
Py_None
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment