id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37,500 | _version.py | google_rekall/tools/layout_expert/layout_expert/_version.py |
# Machine Generated - do not edit!
# This file is produced when the main "version.py update" command is run. That
# command copies this file to all sub-packages which contain
# setup.py. Configuration is maintain in version.yaml at the project's top
# level.
def get_versions():
return tag_version_data(raw_versio... | 3,377 | Python | .py | 85 | 33.223529 | 78 | 0.627559 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,501 | __init__.py | google_rekall/tools/layout_expert/layout_expert/__init__.py |
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
import pyparsing
# Fix bugs in pyparsing.
if getattr(pyparsing, "disablePackrat", None) is None:
def disablePackrat():
# pylint: disable=protected-access
pyparsing.ParserElement._packratEnabled = False
pyparsin... | 494 | Python | .py | 12 | 38.083333 | 74 | 0.792453 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,502 | layout_tool.py | google_rekall/tools/layout_expert/layout_expert/layout_tool.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 6,148 | Python | .py | 172 | 28.633721 | 80 | 0.641979 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,503 | json_serialization_test.py | google_rekall/tools/layout_expert/layout_expert/serialization/json_serialization_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 6,571 | Python | .py | 138 | 40.231884 | 81 | 0.705836 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,504 | __init__.py | google_rekall/tools/layout_expert/layout_expert/serialization/__init__.py | """This module provides serialization for data.Data subclasses.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 218 | Python | .py | 6 | 35.166667 | 63 | 0.78673 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,505 | json_serialization.py | google_rekall/tools/layout_expert/layout_expert/serialization/json_serialization.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 3,265 | Python | .py | 84 | 34.071429 | 80 | 0.723492 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,506 | __init__.py | google_rekall/tools/layout_expert/layout_expert/common/__init__.py | """A module containing common classes and utils used by the project.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 223 | Python | .py | 6 | 36 | 68 | 0.777778 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,507 | key_aware_defaultdict.py | google_rekall/tools/layout_expert/layout_expert/common/key_aware_defaultdict.py | """A module provides a ,,defaultdict'' that passes the key to the factory."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
class KeyAwareDefaultDict(dict):
"""A class similar to defaultdict, but it passes the ke... | 1,176 | Python | .py | 26 | 39.923077 | 79 | 0.703671 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,508 | data_container_test.py | google_rekall/tools/layout_expert/layout_expert/common/data_container_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 5,026 | Python | .py | 133 | 29.654135 | 80 | 0.638342 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,509 | data_container.py | google_rekall/tools/layout_expert/layout_expert/common/data_container.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 2,213 | Python | .py | 58 | 32.448276 | 80 | 0.648459 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,510 | config_parser.py | google_rekall/tools/layout_expert/layout_expert/config_parser/config_parser.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 2,865 | Python | .py | 72 | 32.708333 | 80 | 0.634858 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,511 | config_parser_test.py | google_rekall/tools/layout_expert/layout_expert/config_parser/config_parser_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 4,922 | Python | .py | 126 | 31.579365 | 80 | 0.639279 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,512 | __init__.py | google_rekall/tools/layout_expert/layout_expert/config_parser/__init__.py | """A module containing a parser for parsing Linux kernel .config files."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 225 | Python | .py | 5 | 43.8 | 74 | 0.776256 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,513 | type_collecting_visitor.py | google_rekall/tools/layout_expert/layout_expert/visitors/type_collecting_visitor.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 2,224 | Python | .py | 51 | 38.568627 | 80 | 0.713756 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,514 | field_collecting_visitor.py | google_rekall/tools/layout_expert/layout_expert/visitors/field_collecting_visitor.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 3,616 | Python | .py | 91 | 31.725275 | 80 | 0.650984 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,515 | layout_computing_visitor.py | google_rekall/tools/layout_expert/layout_expert/visitors/layout_computing_visitor.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 8,271 | Python | .py | 191 | 33.942408 | 80 | 0.640433 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,516 | __init__.py | google_rekall/tools/layout_expert/layout_expert/visitors/__init__.py | """A module containing visitors for AST trees."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 200 | Python | .py | 5 | 38.8 | 49 | 0.773196 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,517 | expression_evaluator_visitor.py | google_rekall/tools/layout_expert/layout_expert/visitors/expression_evaluator_visitor.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 2,701 | Python | .py | 63 | 37.84127 | 80 | 0.719847 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,518 | layout_computing_end_to_end_test.py | google_rekall/tools/layout_expert/layout_expert/visitors/layout_computing_end_to_end_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 291,275 | Python | .py | 9,028 | 15.041537 | 89 | 0.364621 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,519 | expression_evaluator_visitor_test.py | google_rekall/tools/layout_expert/layout_expert/visitors/expression_evaluator_visitor_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 3,256 | Python | .py | 91 | 28.736264 | 80 | 0.642199 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,520 | type_manager.py | google_rekall/tools/layout_expert/layout_expert/lib/type_manager.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 6,639 | Python | .py | 133 | 42.533835 | 80 | 0.692783 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,521 | layout_manager.py | google_rekall/tools/layout_expert/layout_expert/lib/layout_manager.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 17,620 | Python | .py | 369 | 38.130081 | 80 | 0.642703 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,522 | parsers.py | google_rekall/tools/layout_expert/layout_expert/lib/parsers.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 4,783 | Python | .py | 117 | 34.401709 | 80 | 0.673871 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,523 | trimming_parser_test.py | google_rekall/tools/layout_expert/layout_expert/parsers/trimming_parser_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 3,157 | Python | .py | 78 | 32.75641 | 80 | 0.593536 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,524 | util.py | google_rekall/tools/layout_expert/layout_expert/parsers/util.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 5,993 | Python | .py | 171 | 27.099415 | 101 | 0.61012 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,525 | expression_parser_test.py | google_rekall/tools/layout_expert/layout_expert/parsers/expression_parser_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 34,981 | Python | .py | 902 | 24.274945 | 250 | 0.483496 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,526 | c_parser.py | google_rekall/tools/layout_expert/layout_expert/parsers/c_parser.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 18,196 | Python | .py | 468 | 28.854701 | 80 | 0.583863 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,527 | trimming_parser.py | google_rekall/tools/layout_expert/layout_expert/parsers/trimming_parser.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 6,010 | Python | .py | 142 | 35.626761 | 80 | 0.664096 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,528 | expression_parser.py | google_rekall/tools/layout_expert/layout_expert/parsers/expression_parser.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 14,107 | Python | .py | 368 | 29.464674 | 80 | 0.604508 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,529 | parser_test.py | google_rekall/tools/layout_expert/layout_expert/parsers/parser_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 82,038 | Python | .py | 2,211 | 22.078697 | 86 | 0.452603 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,530 | functions_test.py | google_rekall/tools/layout_expert/layout_expert/builtins/functions_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 15,402 | Python | .py | 375 | 31.962667 | 80 | 0.607205 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,531 | __init__.py | google_rekall/tools/layout_expert/layout_expert/builtins/__init__.py | """A module containing definitions of compiler builtin types and functions.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 229 | Python | .py | 6 | 37.166667 | 75 | 0.789238 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,532 | functions.py | google_rekall/tools/layout_expert/layout_expert/builtins/functions.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 3,933 | Python | .py | 115 | 28.895652 | 80 | 0.636796 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,533 | gcc_constants.py | google_rekall/tools/layout_expert/layout_expert/builtins/gcc_constants.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 2,561 | Python | .py | 76 | 26.039474 | 80 | 0.584242 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,534 | types.py | google_rekall/tools/layout_expert/layout_expert/builtins/types.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 3,199 | Python | .py | 72 | 38.791667 | 80 | 0.656059 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,535 | visitor_mixin_test.py | google_rekall/tools/layout_expert/layout_expert/c_ast/visitor_mixin_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 1,989 | Python | .py | 54 | 31.555556 | 80 | 0.694387 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,536 | pre_ast.py | google_rekall/tools/layout_expert/layout_expert/c_ast/pre_ast.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 4,824 | Python | .py | 128 | 32.132813 | 80 | 0.690717 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,537 | visitor_mixin.py | google_rekall/tools/layout_expert/layout_expert/c_ast/visitor_mixin.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 3,768 | Python | .py | 97 | 32.536082 | 80 | 0.666667 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,538 | c_ast.py | google_rekall/tools/layout_expert/layout_expert/c_ast/c_ast.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 14,475 | Python | .py | 354 | 32.474576 | 80 | 0.629857 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,539 | layout.py | google_rekall/tools/layout_expert/layout_expert/layout/layout.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 3,483 | Python | .py | 80 | 37.3125 | 80 | 0.681348 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,540 | layout_to_vtype_converter.py | google_rekall/tools/layout_expert/layout_expert/layout/layout_to_vtype_converter.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 2,502 | Python | .py | 58 | 36.172414 | 80 | 0.666804 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,541 | __init__.py | google_rekall/tools/layout_expert/layout_expert/layout/__init__.py | """A module containing classes to represent layouts.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 207 | Python | .py | 6 | 33.333333 | 52 | 0.78 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,542 | layout_to_vtype_converter_test.py | google_rekall/tools/layout_expert/layout_expert/layout/layout_to_vtype_converter_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 6,978 | Python | .py | 209 | 20.904306 | 80 | 0.495483 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,543 | macro_expander.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/macro_expander.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 7,782 | Python | .py | 182 | 33.725275 | 85 | 0.616413 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,544 | include_collecting_visitor.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/include_collecting_visitor.py | """A module containing a visitor that collects all the includes from a tree.
It is used to visit all the nodes of the AST to detect includes and therefore
load all files. We ignore any ifdef here because we dont have config variables
yet - so we end up with a fully expanded forest of ast for each parsed file.
"""
fro... | 1,818 | Python | .py | 47 | 32.12766 | 78 | 0.672748 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,545 | to_string_visitor_test.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/to_string_visitor_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 2,598 | Python | .py | 67 | 32.910448 | 80 | 0.668653 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,546 | preprocessing_visitor_test.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/preprocessing_visitor_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 2,498 | Python | .py | 67 | 31.298507 | 80 | 0.682513 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,547 | macro_expander_test.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/macro_expander_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 9,431 | Python | .py | 209 | 37.889952 | 85 | 0.637424 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,548 | preprocessing_visitor.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/preprocessing_visitor.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 4,712 | Python | .py | 100 | 39.36 | 83 | 0.690933 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,549 | include_linking_visitor.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/include_linking_visitor.py | """A module containing a visitor that links includes with their content.
This visitor connects include nodes in the AST with the AST forest that we
already have - it could be done during computation but its easier to mutate
the AST to directly link each include node's AST.
"""
from __future__ import absolute_import
f... | 1,811 | Python | .py | 44 | 34.522727 | 75 | 0.675043 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,550 | include_linking_visitor_test.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/include_linking_visitor_test.py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import unittest
import mock
from layout_expert.c_ast import pre_ast
from layout_expert.preprocessing_visitors import include_linking_visitor
class TestIncludeLinking... | 3,127 | Python | .py | 84 | 27.107143 | 72 | 0.597557 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,551 | include_collecting_visitor_test.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/include_collecting_visitor_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 5,225 | Python | .py | 125 | 34.224 | 80 | 0.66345 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,552 | to_string_visitor.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/to_string_visitor.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 1,928 | Python | .py | 47 | 37.042553 | 80 | 0.723381 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,553 | __init__.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/__init__.py | """A module containing visitors for Pre-AST trees."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 204 | Python | .py | 5 | 39.6 | 53 | 0.772727 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,554 | macro_expression_evaluator_visitor_test.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/macro_expression_evaluator_visitor_test.py | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
# pylint: disable=eval-used
import sys
sys.setrecursionlimit(25000)
import unittest
from layout_expert.c_ast import c_ast_test
from layout_expert.c_ast import pre_ast
f... | 3,165 | Python | .py | 65 | 39.907692 | 83 | 0.614712 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,555 | macro_expression_evaluator_visitor.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_visitors/macro_expression_evaluator_visitor.py | """A module containing a class for evaluating macros given as AST tree."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import re
from layout_expert.c_ast import c_ast
class MacroExpressionEvaluatorVisitor(objec... | 2,278 | Python | .py | 45 | 43.333333 | 84 | 0.690712 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,556 | preprocessing_parser.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_parser/preprocessing_parser.py | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may ob... | 11,046 | Python | .py | 264 | 33.098485 | 80 | 0.630532 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,557 | __init__.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_parser/__init__.py | """A module containing a parser for unpreprocessed C headers."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 215 | Python | .py | 5 | 41.8 | 64 | 0.779904 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,558 | preprocessing_parser_test.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_parser/preprocessing_parser_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 14,219 | Python | .py | 408 | 22.088235 | 83 | 0.501307 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,559 | preprocessing_loader.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_loader/preprocessing_loader.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 4,576 | Python | .py | 100 | 39.08 | 80 | 0.697889 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,560 | __init__.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_loader/__init__.py | """A module containing an include following loader for C header files."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
| 224 | Python | .py | 5 | 43.6 | 73 | 0.779817 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,561 | preprocessing_loader_test.py | google_rekall/tools/layout_expert/layout_expert/preprocessing_loader/preprocessing_loader_test.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Arkadiusz Socała <as277575@mimuw.edu.pl>
# Michael Cohen <scudette@google.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with th... | 5,118 | Python | .py | 131 | 30.603053 | 84 | 0.589966 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,562 | copy_dlls.py | google_rekall/tools/installers/copy_dlls.py | """This program copies the DLLs used by Rekall into the pyinstaller directory.
PyInstaller is pretty bad at discovering the needed DLLs and often misses a lot
of needed DLLs like the VC run times.
This program works by running inside Rekall itself, and introspecting the
currently used DLLs. We copy all the DLLs that ... | 2,943 | Python | .py | 71 | 37.577465 | 81 | 0.733543 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,563 | rekal.py | google_rekall/tools/installers/rekal.py | """Main entry point for pyinstaller binaries."""
# Pyinstaller typically can not see these imports.
# Must be fixed so it can monkey patch fixes for pyinstaller.
import fix_deps
from rekall import rekal
import rekall.plugins
from rekall_agent import agent
rekal.main()
| 272 | Python | .py | 8 | 32.625 | 61 | 0.816092 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,564 | winbuild.py | google_rekall/tools/installers/winbuild.py | """A build script for windows installation."""
from __future__ import print_function
from rekall import constants
import glob
import io
import os
import parso
import platform
import shutil
import subprocess
import tempfile
def build_windows_installer():
cwd = os.getcwd()
target_path = os.path.join(cwd, r"dis... | 5,900 | Python | .py | 158 | 32.101266 | 158 | 0.68646 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,565 | darwinbuild.py | google_rekall/tools/installers/darwinbuild.py | """A build script for osx installation."""
from __future__ import print_function
from rekall import constants
import capstone
import glob
import io
import os
import parso
import platform
import shutil
import subprocess
import tempfile
def copytree(src, dst, symlinks=False, ignore=None):
if not os.path.exists(dst)... | 2,718 | Python | .py | 77 | 28.298701 | 86 | 0.628484 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,566 | fix_deps.py | google_rekall/tools/installers/fix_deps.py | """Patch Rekall's dependencies.
This file patches some of Rekall's dependencies which are not
pyinstaller friendly. Typically the problems are that these
dependencies use __file__ to try to locate their dlls but this
variable does not exist when running from inside a pyinstaller bundle.
"""
from Crypto.Util import _r... | 1,217 | Python | .py | 24 | 43.791667 | 72 | 0.709214 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,567 | address_space_fuse.py | google_rekall/tools/windows/address_space_fuse.py | # Rekall Memory Forensic Framework.
#
# Authors: Michael Cohen <scudette@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any l... | 7,998 | Python | .py | 219 | 28.694064 | 109 | 0.616063 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,568 | winpmem.py | google_rekall/tools/windows/winpmem/winpmem.py | #!python
"""This is the user space program which is required for dumping images using the
winpmem driver.
Copyright 2012 Michael Cohen <scudette@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy... | 8,672 | Python | .py | 204 | 32.397059 | 80 | 0.593772 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,569 | build_winpmem.py | google_rekall/tools/windows/winpmem/build_winpmem.py | #!/usr/bin/python
"""Build script for winpmem.
This script builds the drivers and then the userspace application which embeds
them. To have it run, you will need to install the following components on a
windows system:
1) .Net framework:
http://www.microsoft.com/en-us/download/details.aspx?id=17851
2) Microsoft W... | 5,539 | Python | .py | 130 | 34.953846 | 81 | 0.625699 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,570 | obfuscator.py | google_rekall/tools/windows/winpmem/obfuscator.py | import random
class Interpolator(object):
def __init__(self):
self.key = [random.randint(1, 255) for _ in range(50)]
def __getitem__(self, item):
if item == "key":
return "".join(["\\x%02X" % x for x in self.key])
# Add a NULL terminator
item += "\x00"
# ... | 631 | Python | .py | 17 | 29.235294 | 62 | 0.543802 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,571 | unpack_kdbg_kit.py | google_rekall/tools/profiles/unpack_kdbg_kit.py | #!/usr/bin/env python
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your... | 12,210 | Python | .py | 272 | 36.194853 | 80 | 0.626033 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,572 | ko_patcher.py | google_rekall/tools/linux/ko_patcher.py | #!/usr/bin/python
"""A kernel module rewriter.
This is a hack that rewrites kernel modules such that they can be loaded on
kernels they were not compiled for.
"""
from __future__ import print_function
__author__ = "Andreas Moser"
import logging
import os
import platform
import struct
import sys
class KernelObjectP... | 7,778 | Python | .py | 177 | 36.129944 | 80 | 0.644653 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,573 | activate_vmx.py | google_rekall/tools/linux/vmcs_layout/activate_vmx.py | """Sets the processors to +VME,+LOCK,-SMM to be able to run vmcs_layout."""
from __future__ import print_function
import logging
import msr
import sys
MSR_IDX = 0x3A
LOCK_BIT_MASK = 0x1
VME_BIT_MASK = 0x4
SMM_BIT_MASK = 0x2
if __name__ == "__main__":
all_cpus_ready = True
if len(sys.argv) > 1 and sys.argv... | 1,599 | Python | .py | 44 | 27.25 | 81 | 0.550875 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,574 | __init__.py | google_rekall/tools/linux/vmcs_layout/msr/__init__.py | import struct
import glob
class Error(Exception):
pass
def read_msr(msr_index, cpu_index=None):
if cpu_index is not None:
cpus = ["/dev/cpu/%d/msr" % cpu_index]
else:
cpus = sorted(list(glob.glob("/dev/cpu/*/msr")))
if not cpus:
raise Error("No CPUs found, did you ru... | 1,424 | Python | .py | 40 | 26.675 | 78 | 0.556446 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,575 | fix_versions.py | google_rekall/tools/linux/lmap/tools/fix_versions.py | #!/usr/bin/env python
"""Uses ko_patcher to fix the __vermagic of a kernel module."""
from __future__ import print_function
import sys
from ko_patcher import KernelObjectPatcher
def update_symbol_versions(module):
"""Updates all checksums in a modules "__versions" section."""
patcher = KernelObjectPatcher()
sec... | 1,669 | Python | .py | 43 | 34.348837 | 80 | 0.658657 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,576 | copyright | google_rekall/config/dpkg/copyright | Format: http://dep.debian.net/deps/dep5
Upstream-Name: rekall
Source: http://code.google.com/p/rekall/
Files: *
Copyright (C) 2007-2011 Volatile Systems
Copyright 2013 Google Inc. All Rights Reserved.
License: GPL-2
Files: debian/*
Copyright 2014 Google Inc. All Rights Reserved.
License: GPL-2
License: GPL-2
This p... | 1,151 | Python | .py | 31 | 35.387097 | 61 | 0.791406 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,577 | setup.py | google_rekall/rekall-agent/setup.py | #!/usr/bin/env python
# Rekall
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Michael Cohen <scudette@google.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either vers... | 3,098 | Python | .py | 91 | 29.725275 | 73 | 0.675351 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,578 | _version.py | google_rekall/rekall-agent/_version.py |
# Machine Generated - do not edit!
# This file is produced when the main "version.py update" command is run. That
# command copies this file to all sub-packages which contain
# setup.py. Configuration is maintain in version.yaml at the project's top
# level.
def get_versions():
return tag_version_data(raw_versio... | 3,377 | Python | .py | 85 | 33.223529 | 78 | 0.627559 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,579 | config_updater.py | google_rekall/rekall-agent/rekall_agent/config_updater.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 13,280 | Python | .py | 277 | 37.036101 | 80 | 0.631045 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,580 | crypto_test.py | google_rekall/rekall-agent/rekall_agent/crypto_test.py | import StringIO
from rekall import testlib
from rekall_agent import crypto
class TestWritableAgentFile(testlib.RekallBaseUnitTestCase):
def testAgentFile(self):
readers_private_key = crypto.RSAPrivateKey(
session=self.session).generate_key()
writers_private_key = crypto.RSAPrivateKey(... | 1,210 | Python | .py | 29 | 32.275862 | 64 | 0.643649 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,581 | result_collections.py | google_rekall/rekall-agent/rekall_agent/result_collections.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 14,992 | Python | .py | 343 | 33.521866 | 80 | 0.602296 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,582 | hunts.py | google_rekall/rekall-agent/rekall_agent/hunts.py | import time
import os
from rekall import plugin
from rekall_agent import flow
class Hunt(flow.Flow):
schema = [
dict(name="queue", default="All",
doc="Which queue to schedule the hunt on."),
]
def validate(self):
if not self.queue:
raise plugin.InvalidArgs("A hu... | 349 | Python | .py | 12 | 23.25 | 70 | 0.656627 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,583 | flow.py | google_rekall/rekall-agent/rekall_agent/flow.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 16,249 | Python | .py | 351 | 37.05698 | 80 | 0.636295 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,584 | output_plugin.py | google_rekall/rekall-agent/rekall_agent/output_plugin.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,207 | Python | .py | 65 | 39.584615 | 79 | 0.653009 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,585 | controller.py | google_rekall/rekall-agent/rekall_agent/controller.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,218 | Python | .py | 75 | 36.893333 | 76 | 0.708013 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,586 | location.py | google_rekall/rekall-agent/rekall_agent/location.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,013 | Python | .py | 71 | 36.507042 | 79 | 0.68962 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,587 | testlib.py | google_rekall/rekall-agent/rekall_agent/testlib.py | """Utilities for testing Rekall Agent components."""
import json
import os
import sqlite3
from rekall import resources
from rekall import testlib
from rekall_agent.config import agent
from rekall_agent.locations import files
class ClientAcionTest(testlib.RekallBaseUnitTestCase):
"""Test client actions."""
m... | 1,850 | Python | .py | 45 | 32.111111 | 79 | 0.639308 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,588 | json_collection.py | google_rekall/rekall-agent/rekall_agent/json_collection.py | import arrow
import six
from rekall_lib import registry
from rekall_lib.rekall_types import collections
if six.PY3:
unicode = str
def _coerce_timestamp(value):
if isinstance(value, arrow.Arrow):
return value.float_timestamp
return float(value)
class JSONCollectionImpl(collections.JSONCollecti... | 3,038 | Python | .py | 79 | 28.164557 | 75 | 0.582624 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,589 | cache.py | google_rekall/rekall-agent/rekall_agent/cache.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 8,335 | Python | .py | 187 | 32.508021 | 80 | 0.588627 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,590 | __init__.py | google_rekall/rekall-agent/rekall_agent/__init__.py | # pylint: disable=unused-import
from rekall_agent import agent
from rekall_agent import client_actions
from rekall_agent import config
#from rekall_agent import config_updater
from rekall_agent import hooks
from rekall_agent import json_collection
from rekall_agent import locations
from rekall_agent import policies
fr... | 351 | Python | .py | 10 | 34 | 40 | 0.864706 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,591 | result_collections_test.py | google_rekall/rekall-agent/rekall_agent/result_collections_test.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,033 | Python | .py | 64 | 39.203125 | 78 | 0.668248 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,592 | action.py | google_rekall/rekall-agent/rekall_agent/action.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 1,539 | Python | .py | 37 | 38.810811 | 76 | 0.759383 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,593 | hooks.py | google_rekall/rekall-agent/rekall_agent/hooks.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,077 | Python | .py | 67 | 38.835821 | 80 | 0.689632 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,594 | serializer_test.py | google_rekall/rekall-agent/rekall_agent/serializer_test.py | from rekall import testlib
from rekall_agent import serializer
class TestObject1(serializer.SerializedObject):
schema = [
dict(name="C1", type="int"),
dict(name="R1", type="unicode", repeated=True),
dict(name="C2", type="str"),
]
# Note that forward declarations are not currently imp... | 5,583 | Python | .py | 118 | 37.949153 | 80 | 0.645626 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,595 | common.py | google_rekall/rekall-agent/rekall_agent/common.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,639 | Python | .py | 86 | 36.325581 | 77 | 0.693269 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,596 | agent.py | google_rekall/rekall-agent/rekall_agent/agent.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 21,019 | Python | .py | 474 | 33.06962 | 83 | 0.59763 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,597 | json_collection_test.py | google_rekall/rekall-agent/rekall_agent/json_collection_test.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 2,250 | Python | .py | 54 | 34.296296 | 74 | 0.66087 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,598 | agent_test.py | google_rekall/rekall-agent/rekall_agent/agent_test.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 4,796 | Python | .py | 111 | 29.342342 | 80 | 0.538116 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,599 | pool_client.py | google_rekall/rekall-agent/rekall_agent/test/pool_client.py | import argparse
import logging
import yaml
from rekall_agent import agent
from rekall_agent import common
from rekall import plugins
from rekall import session
from rekall import yaml_utils
parser = argparse.ArgumentParser(description='Rekall Agent Pool Client')
parser.add_argument('config', help='configuration file... | 1,542 | Python | .py | 39 | 33.769231 | 74 | 0.677636 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |