Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Teach2Breach/stargate
/ functions
Functions
47 in github.com/Teach2Breach/stargate
⨍
Functions
47
◇
Types & classes
10
↓ 35 callers
Method
len
Get the total number of signatures in the database
src/signature.rs:124
↓ 10 callers
Function
extract_all_signatures
Extract all function signatures from a DLL
src/extractor.rs:5
↓ 10 callers
Method
is_empty
Check if the database is empty
src/signature.rs:129
↓ 7 callers
Function
scan_loaded_dll
Scan a loaded DLL for functions matching signatures in our database
src/scanner.rs:50
↓ 6 callers
Function
find_specific_function
Find a specific function by signature in a loaded DLL
src/scanner.rs:97
↓ 4 callers
Method
add_signature
Add a function signature to the database
src/signature.rs:75
↓ 4 callers
Function
is_memory_readable
Check if memory is readable
src/scanner.rs:476
↓ 3 callers
Function
extract_function_signature
Extract function signature from memory
src/extractor.rs:214
↓ 3 callers
Method
get_signature
Get a function signature by DLL name, function name, and Windows version
src/signature.rs:88
↓ 3 callers
Method
get_signatures_by_dll
Get all signatures for a specific DLL
src/signature.rs:99
↓ 3 callers
Method
get_stats
Get statistics about the database
src/signature.rs:139
↓ 2 callers
Function
extract_single_signature
Extract a single function signature from a DLL
src/extractor.rs:66
↓ 2 callers
Function
find_function_by_signature
Core function to find a function by its signature with hook-resistant logic
src/scanner.rs:112
↓ 2 callers
Function
get_all_export_names
Get all exported function names from a DLL
src/extractor.rs:156
↓ 2 callers
Method
get_all_signatures
Get all signatures in the database
src/signature.rs:119
↓ 1 callers
Function
detect_hook_pattern
Detect common hook patterns with improved logic
src/scanner.rs:311
↓ 1 callers
Function
enhanced_target_analysis
Enhanced target address analysis
examples/enhanced_hook_detection.rs:212
↓ 1 callers
Function
is_likely_data_export
Check if a function name is likely a data export (not a function)
src/scanner.rs:459
↓ 1 callers
Function
print_scan_results
Print scan results in a formatted way
src/scanner.rs:495
↓ 1 callers
Function
scan_nearby_regions
Scan nearby memory regions for the signature
src/scanner.rs:226
↓ 1 callers
Function
try_alternative_locations
Try alternative locations where functions might be relocated
src/scanner.rs:272
↓ 1 callers
Function
try_exact_match
Try exact match at the expected RVA location
src/scanner.rs:140
↓ 1 callers
Function
try_partial_match_with_hook_detection
Try partial match with hook detection
src/scanner.rs:171
↓ 1 callers
Function
try_partial_signature_match
Try partial signature matching (ignore first few bytes)
src/scanner.rs:436
Function
bytes_to_hex
Convert bytes to hex string
examples/enhanced_hook_detection.rs:204
Function
bytes_to_hex_formatted
Convert bytes to formatted hex string
src/comparison.rs:128
Method
clear
Clear all signatures from the database
src/signature.rs:134
Function
compare_signatures
Compare a signature from the database with a system-loaded function
src/comparison.rs:4
Function
extract_all_signatures_default
Extract all signatures from a DLL with default settings
src/lib.rs:86
Function
extract_all_signatures_from_loaded
Extract all function signatures from an already-loaded DLL (given base address)
src/extractor.rs:113
Function
extract_single_signature_default
Extract a single signature with default settings
src/lib.rs:91
Function
extract_system_function_bytes
Extract function bytes from system-loaded DLL
src/extractor.rs:296
Method
get_signatures_by_dll_and_version
Get all signatures for a specific DLL and Windows version
src/signature.rs:107
Function
get_windows_version
Get the current Windows version by detecting from loaded ntdll
src/lib.rs:79
Function
main
()
src/main.rs:4
Function
main
()
examples/basic_usage.rs:3
Function
main
()
examples/signature_scanning.rs:3
Function
main
()
examples/silent_call.rs:6
Function
main
()
examples/unhook.rs:8
Function
main
()
examples/function_calling.rs:9
Function
main
()
examples/enhanced_hook_detection.rs:6
Method
new
Create a new function signature
src/signature.rs:18
Function
print_comparison_result
Print comparison results in a formatted way
src/comparison.rs:63
Function
print_comparison_summary
Print summary of comparison results
src/comparison.rs:107
Function
scan_all_loaded_dlls
Scan all loaded DLLs that have signatures in our database
src/scanner.rs:78
Method
signature_hex
Get the signature bytes as a hex string
src/signature.rs:42
Method
signature_hex_formatted
Get the signature bytes as a formatted hex string with spaces
src/signature.rs:51