Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CyberForce/Pesidious
/ functions
Functions
960 in github.com/CyberForce/Pesidious
⨍
Functions
960
◇
Types & classes
176
↓ 6 callers
Function
write_to_file
(feature, filepath: str, is_imports: bool)
binary_builder.py:835
↓ 5 callers
Method
__binary_to_bytez
(self, binary, dos_stub=False, imports=False, overlay=False, relocations=False, resources=False, tls=False)
gym_malware/envs/controls/manipulate2.py:39
↓ 5 callers
Method
add_icon
Add icon helper
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_writer.cpp:14
↓ 5 callers
Method
fill_missing_original_iats
Returns true if original missing IATs will be rebuilt (only if IATs are saved)
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:56
↓ 5 callers
Method
get_advanced_info_type
Returns advanced debug information type
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:254
↓ 5 callers
Method
get_cursor_by_id_lang
Returns cursor data by ID and language (minimum checks of format correctness)
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_reader.cpp:372
↓ 5 callers
Method
get_iat_va
Returns IAT entry VA (usable if image has both IAT and original IAT and is bound)
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:157
↓ 5 callers
Method
get_index_rva
Returns TLS index RVA
portable-executable/portable-executable-library2/pe_lib/pe_tls.cpp:29
↓ 5 callers
Method
get_subsystem
Returns subsystem value
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1100
↓ 5 callers
Method
get_time_stamp
Returns debug datetimestamp
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:40
↓ 5 callers
Method
has_imports
Returns true if image has import directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:547
↓ 5 callers
Function
rebuild_relocations
Simple relocations rebuilder To keep PE file working, don't remove any of existing relocations in relocation_table_list returned by a call to get_relo
portable-executable/portable-executable-library2/pe_lib/pe_relocations.cpp:168
↓ 5 callers
Function
rebuild_resources
Resources rebuilder resource_directory - root resource directory resources_section - section where resource directory will be placed (must be attached
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:573
↓ 5 callers
Method
save_iat_and_original_iat_rvas
Returns true if Original import address and import address tables will not be rebuilt, works only if import descriptor IAT (and orig.IAT, if present)
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:41
↓ 5 callers
Method
section_data_from_va
Returns corresponding section data pointer from VA inside section "s" for PE32 (checks bounds)
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1160
↓ 5 callers
Method
set_iat_va
Sets IAT entry VA (usable if image has both IAT and original IAT and is bound)
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:181
↓ 5 callers
Method
strip_data_directories
Strips only zero DATA_DIRECTORY entries to count = min_count Returns resulting number of data directories strip_iat_directory - if true, even not empt
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:541
↓ 5 callers
Function
test_bound_imports
portable-executable/portable-executable-library2/tests/test_bound_import/main.cpp:11
↓ 5 callers
Function
test_exports
portable-executable/portable-executable-library2/tests/test_exports/main.cpp:11
↓ 5 callers
Function
test_resources
portable-executable/portable-executable-library2/tests/test_resources/main.cpp:12
↓ 4 callers
Method
_build_export_name
r""" Builds the name that will be used when exporting the model. :param epoch_num: Optional epoch number associated with the model
malgan/__init__.py:255
↓ 4 callers
Method
add_cursor
Add cursor helper
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_writer.cpp:170
↓ 4 callers
Method
add_se_handler_rva
Adds SE Handler RVA to list
portable-executable/portable-executable-library2/pe_lib/pe_load_config.cpp:177
↓ 4 callers
Method
duplicate
portable-executable/portable-executable-library2/pe_lib/pe_properties_generic.cpp:12
↓ 4 callers
Function
exported_name_exists
Checks if exported function name already exists
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:438
↓ 4 callers
Function
exported_ordinal_exists
Checks if exported function name already exists
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:450
↓ 4 callers
Method
get_age
Returns age of build
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:325
↓ 4 callers
Method
get_bitmap_by_name
Returns bitmap data by name and index in language directory (instead of language) (minimum checks of format correctness)
portable-executable/portable-executable-library2/pe_lib/resource_bitmap_reader.cpp:15
↓ 4 callers
Method
get_flags
Returns flags
portable-executable/portable-executable-library2/pe_lib/pe_dotnet.cpp:44
↓ 4 callers
Method
get_lock_prefix_table_va
Returns VA of a list of addresses where the LOCK prefix is used
portable-executable/portable-executable-library2/pe_lib/pe_load_config.cpp:105
↓ 4 callers
Method
get_major_version
Returns major version
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:46
↓ 4 callers
Method
get_message_table_by_id_lang
Returns message table data by ID and language
portable-executable/portable-executable-library2/pe_lib/resource_message_list_reader.cpp:106
↓ 4 callers
Method
get_minor_version
Returns minor version
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:52
↓ 4 callers
Method
get_ordinal_base
Returns ordinal base
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:136
↓ 4 callers
Method
get_rva
Returns RVA of relocation
portable-executable/portable-executable-library2/pe_lib/pe_relocations.cpp:26
↓ 4 callers
Method
get_size_of_data
Returns size of debug data (internal, .pdb or other file doesn't count)
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:107
↓ 4 callers
Method
get_size_of_image
Returns size of image
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:251
↓ 4 callers
Method
has_exports
Returns true if image has export directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:553
↓ 4 callers
Method
has_reloc
Returns true if image has relocations
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:571
↓ 4 callers
Method
has_resources
Returns true if image has resource directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:559
↓ 4 callers
Method
release
Destroys included data
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:91
↓ 4 callers
Method
remove_cursor_group
Removes cursor group and all its cursors by name/ID and language
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_writer.cpp:392
↓ 4 callers
Method
remove_icon_group
Removes icon group and all its icons by name/ID and language
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_writer.cpp:410
↓ 4 callers
Method
resource_exists
Returns true if resource type exists
portable-executable/portable-executable-library2/pe_lib/pe_resource_viewer.cpp:49
↓ 4 callers
Method
set_advanced_debug_info
Sets advanced debug information
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:225
↓ 4 callers
Method
set_file_alignment
Sets file alignment
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:234
↓ 4 callers
Method
set_raw_data_start_rva
Sets start RVA of TLS raw data
portable-executable/portable-executable-library2/pe_lib/pe_tls.cpp:89
↓ 4 callers
Method
set_rva
Sets RVA
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:570
↓ 4 callers
Method
set_timestamp
Sets timestamp
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:234
↓ 4 callers
Method
set_virtual_size
Sets section virtual size
portable-executable/portable-executable-library2/pe_lib/pe_section.cpp:251
↓ 4 callers
Method
step
(self, action_index)
gym_malware/envs/malware_env.py:55
↓ 4 callers
Method
strip_stub_overlay
Strips MSVC stub overlay
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:128
↓ 3 callers
Function
__binary_to_bytez
(binary, dos_stub=False, imports=False, overlay=False, relocations=False, resources=False, tls=False)
mutated_builder.py:176
↓ 3 callers
Method
_meas_loader_gen_loss
r""" Calculate the generator loss on malware dataset
malgan/__init__.py:325
↓ 3 callers
Method
add_bitmap
Adds bitmap from bitmap file data. If bitmap already exists, replaces it timestamp will be used for directories that will be added
portable-executable/portable-executable-library2/pe_lib/resource_bitmap_writer.cpp:15
↓ 3 callers
Method
add_data_entry
Adds resource_data_entry
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:190
↓ 3 callers
Method
add_resource_directory
Adds resource_directory
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:198
↓ 3 callers
Function
calculate_checksum
Calculate checksum of image
portable-executable/portable-executable-library2/pe_lib/pe_checksum.cpp:10
↓ 3 callers
Method
check_characteristics_flag
Returns true if PE characteristics flag set
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1094
↓ 3 callers
Function
debug_test
portable-executable/portable-executable-library2/tests/test_debug/main.cpp:11
↓ 3 callers
Function
get_bound_import_module_list
portable-executable/portable-executable-library2/pe_lib/pe_bound_import.cpp:108
↓ 3 callers
Method
get_cursor_by_name
Returns cursor data by name and language (minimum checks of format correctness)
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_reader.cpp:330
↓ 3 callers
Method
get_dll_characteristics
Returns DLL Characteristics
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1283
↓ 3 callers
Method
get_icon_by_id_lang
Returns icon data by ID and language (minimum checks of format correctness)
portable-executable/portable-executable-library2/pe_lib/resource_cursor_icon_reader.cpp:127
↓ 3 callers
Method
get_image_base
Returns image base for PE32
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1319
↓ 3 callers
Method
get_name_ordinal
Returns name ordinal of function
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:42
↓ 3 callers
Method
get_number_of_id_entries
Returns number of ID entries
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:252
↓ 3 callers
Method
get_number_of_named_entries
Returns number of named entries
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:246
↓ 3 callers
Method
get_original_filename
Returns original file name
portable-executable/portable-executable-library2/pe_lib/version_info_viewer.cpp:53
↓ 3 callers
Function
get_score_remote
(bytez, private_data)
classifier.py:137
↓ 3 callers
Method
get_security_cookie_va
Returns a pointer to a cookie that is used by Visual C++ or GS implementation
portable-executable/portable-executable-library2/pe_lib/pe_load_config.cpp:147
↓ 3 callers
Method
get_size_of_zero_fill
Returns size of zero fill
portable-executable/portable-executable-library2/pe_lib/pe_tls.cpp:41
↓ 3 callers
Method
get_times
portable-executable/portable-executable-library2/pe_lib/pe_rich_data.cpp:22
↓ 3 callers
Method
get_version_info
Returns full version information: file_version_info: versions and file info lang_string_values_map: map of version info strings with encodings transla
portable-executable/portable-executable-library2/pe_lib/resource_version_info_reader.cpp:61
↓ 3 callers
Method
has_debug
Returns true if image has debug directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:613
↓ 3 callers
Method
has_exception_directory
Returns true if image has exception directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:607
↓ 3 callers
Method
has_name
Returns true if function has name and name ordinal
portable-executable/portable-executable-library2/pe_lib/pe_exports.cpp:36
↓ 3 callers
Function
imports_to_dict
(adversarial_imports_set: list)
binary_builder.py:118
↓ 3 callers
Method
is_dotnet
Returns true if image has COM directory
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:601
↓ 3 callers
Method
list_resource_types
Lists resource types existing in PE file (non-named only)
portable-executable/portable-executable-library2/pe_lib/pe_resource_viewer.cpp:32
↓ 3 callers
Method
predict
r""" Predict the labels for \p X :param X: Set of examples for which label probabilities should be predicted :return: Pre
malgan/detector.py:72
↓ 3 callers
Function
rebase_image
Recalculates image base with the help of relocation tables
portable-executable/portable-executable-library2/pe_lib/pe_relocations.cpp:250
↓ 3 callers
Method
recalc_raw_data_end_rva
Recalculates end address of raw TLS data
portable-executable/portable-executable-library2/pe_lib/pe_tls.cpp:83
↓ 3 callers
Method
rva_to_file_offset
RVA to RAW file offset convertion (4gb max)
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:1337
↓ 3 callers
Method
set_advanced_info_type
Sets advanced debug information type, if no advanced info structure available
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:298
↓ 3 callers
Method
set_offset_from_section_start
Sets offset from section start where import directory data will be placed
portable-executable/portable-executable-library2/pe_lib/pe_imports.cpp:80
↓ 2 callers
Method
__init__
r""" Malware Generative Adversarial Network Constructor :param mal_data: Malware training dataset. :param ben_data: Benig
malgan/__init__.py:98
↓ 2 callers
Method
__random_length
(self)
gym_malware/envs/controls/manipulate2.py:36
↓ 2 callers
Method
_calc_gen_loss
r""" Calculates the parameter :math:`L_{G}` as defined in Eq. (3) of Hu & Tan's paper. :param g_theta: :math:`G(_{\theta_g}(m,z)`
malgan/__init__.py:335
↓ 2 callers
Method
_delete_old_backup
Helper function to delete old backed up models :param epoch_num: Epoch number associated with old backed up model
malgan/__init__.py:272
↓ 2 callers
Method
_entropy_bin_counts
(self, block)
gym_malware/envs/utils/pefeatures.py:72
↓ 2 callers
Method
_entropy_bin_counts
(self, block)
gym_malware/envs/utils/pefeatures2.py:72
↓ 2 callers
Method
_save
r""" Export the specified model to disk. The function creates any files needed on the path. All exported models will be relative to
malgan/__init__.py:420
↓ 2 callers
Method
add_relocation
Adds relocation to table
portable-executable/portable-executable-library2/pe_lib/pe_relocations.cpp:69
↓ 2 callers
Method
add_resource_directory_entry
Adds resource_directory_entry
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:270
↓ 2 callers
Method
add_symbol
Adds COFF symbol
portable-executable/portable-executable-library2/pe_lib/pe_debug.cpp:501
↓ 2 callers
Method
build_loader
r""" Constructs loaders from the datasets :param batch_size: Batch size for training
malgan/__init__.py:67
↓ 2 callers
Function
calculate_resource_data_space
Helper function to calculate needed space for resource data
portable-executable/portable-executable-library2/pe_lib/pe_resources.cpp:420
↓ 2 callers
Method
directory_exists
Returns true if directory exists
portable-executable/portable-executable-library2/pe_lib/pe_base.cpp:503
↓ 2 callers
Method
empty
(self)
gym_malware/envs/utils/pefeatures2.py:36
← previous
next →
101–200 of 960, ranked by callers