Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
light-hat committed Dec 21, 2024
1 parent 0b710f4 commit 8ba1486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.4
0.2.5
4 changes: 2 additions & 2 deletions immunity_agent/control_flow/control_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def trace_calls( # pylint: disable=too-many-statements
"""
filename = frame.f_code.co_filename

if event == "call":
'''if event == "call":
func_name = frame.f_code.co_name
func_filename = frame.f_code.co_filename
func_line_number = frame.f_lineno
Expand All @@ -141,7 +141,7 @@ def trace_calls( # pylint: disable=too-many-statements
)
self.external_call_detected = True
else:
self.external_call_detected = False
self.external_call_detected = False'''

if self.project_root in filename:
if event == "call":
Expand Down

0 comments on commit 8ba1486

Please sign in to comment.