Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/19h/dazhbog
/ functions
Functions
746 in github.com/19h/dazhbog
⨍
Functions
746
◇
Types & classes
159
↓ 251 callers
Method
push
Push function metadata without context.
src/db/database.rs:299
↓ 224 callers
Method
is_empty
Check if the index is empty.
src/engine/search/index.rs:249
↓ 119 callers
Method
clone
(&self)
src/engine/segment.rs:153
↓ 79 callers
Function
pack_dd
Pack a variable-length 32-bit integer (IDA format). The IDA dd format encoding: - 1 byte: 0x00-0x7F for values 0-127 - 2 bytes: for values 0x80-0x3FF
src/protocol/lumina/wire.rs:81
↓ 75 callers
Function
log_info
(msg: &str)
src/bin/recover.rs:133
↓ 66 callers
Method
insert
Add a key to the failure cache with current timestamp.
src/db/failure_cache.rs:47
↓ 56 callers
Method
load
Load configuration from a file path.
src/config/parser.rs:228
↓ 48 callers
Method
get
(&self, key: u128)
src/engine/index.rs:70
↓ 36 callers
Function
unpack_dd
Unpack a variable-length 32-bit integer (IDA format).
src/protocol/lumina/wire.rs:35
↓ 33 callers
Function
json_response
Create a JSON response.
src/api/http/handlers.rs:684
↓ 27 callers
Function
parse_metadata
(data: &[u8])
src/protocol/lumina/metadata.rs:615
↓ 27 callers
Method
persist_u64
(&self, key: &[u8], value: u64)
src/api/metrics.rs:202
↓ 24 callers
Function
write_all
(w: &mut W, buf: &[u8])
src/net/handler.rs:31
↓ 21 callers
Function
log_step
(step: u32, total: u32, msg: &str)
src/bin/recover.rs:137
↓ 21 callers
Method
raw
(self)
src/protocol/lumina/metadata.rs:30
↓ 21 callers
Method
read_byte
(&mut self)
src/protocol/lumina/type_decoder.rs:1241
↓ 20 callers
Method
read_dt
(&mut self)
src/protocol/lumina/type_decoder.rs:1157
↓ 19 callers
Function
get_u64_le
(src: &mut &[u8])
src/engine/context_index.rs:992
↓ 19 callers
Function
put_u64_le
(v: u64, dst: &mut Vec<u8>)
src/engine/context_index.rs:973
↓ 18 callers
Function
demangle
Attempt to demangle a symbol name using all known schemes. Returns the demangled name if successful, otherwise the original.
src/common/demangle.rs:16
↓ 18 callers
Method
get_latest
Get the latest version of a function by key.
src/db/database.rs:265
↓ 18 callers
Method
lock
(&self)
src/engine/spin.rs:17
↓ 18 callers
Function
tokenize_semantic_text
(input: &str)
src/db/semantic.rs:591
↓ 18 callers
Function
usize_to_f64
(v: usize)
src/db/semantic.rs:970
↓ 17 callers
Function
encode_fail
Encode a Fail response.
src/protocol/rpc/encoder.rs:46
↓ 17 callers
Function
pack_dq
Pack a variable-length 64-bit integer as dd(low) + dd(high). NOTE: pack_dq must encode the low 32 bits first, then the high 32 bits, matching how IDA
src/protocol/lumina/wire.rs:152
↓ 17 callers
Function
parse_query_param
Parse a query parameter from a request.
src/api/http/handlers.rs:667
↓ 16 callers
Function
connect
Connect to upstream server (plain TCP or TLS with optional insecure verification).
src/db/upstream.rs:36
↓ 15 callers
Method
load_u64
(&self, tree: &sled::Tree, key: &[u8], target: &AtomicU64)
src/api/metrics.rs:193
↓ 14 callers
Function
chunk
(raw_key: u32, data: &[u8])
tests/semantic_matching.rs:8
↓ 14 callers
Method
parse
(data: &'a [u8])
src/protocol/lumina/metadata.rs:234
↓ 13 callers
Method
as_slice
Get the frame data as a slice.
src/net/budget.rs:83
↓ 13 callers
Function
read_with_timeout
Read with timeout to prevent hanging
tests/security_fuzzing.rs:69
↓ 13 callers
Function
write_lumina_packet
Write a packet in Lumina format with chunking for large payloads.
src/protocol/lumina/builder.rs:11
↓ 12 callers
Method
get_binary_refs_for_key
Get structured binary references associated with a function key.
src/db/database.rs:1056
↓ 12 callers
Method
is_ok
(&self)
src/protocol/lumina/metadata.rs:174
↓ 12 callers
Function
send_lumina_fail
Send a Lumina Fail response (0x0b).
src/protocol/lumina/builder.rs:184
↓ 11 callers
Method
finish
(&self)
src/bin/recover.rs:91
↓ 11 callers
Method
inc
(&mut self, n: u64)
src/bin/recover.rs:41
↓ 10 callers
Function
connect_to_server
Test helper that connects to server and returns stream
tests/security_fuzzing.rs:53
↓ 10 callers
Method
get_binary_meta
(&self, md5: &[u8; 16])
src/engine/context_index.rs:627
↓ 10 callers
Method
get_version_stats
(&self, version_id: &[u8; 32])
src/engine/context_index.rs:615
↓ 10 callers
Function
is_rejected_function_name
(name: &str)
src/db/semantic.rs:387
↓ 10 callers
Method
parse_type
(&mut self)
src/protocol/lumina/type_decoder.rs:421
↓ 10 callers
Method
read_de
(&mut self)
src/protocol/lumina/type_decoder.rs:1177
↓ 9 callers
Function
connect_to_server
()
tests/boundary_conditions.rs:12
↓ 9 callers
Method
get_binary_facets
( &self, md5: [u8; 16], limit: usize, )
src/db/database.rs:1275
↓ 9 callers
Function
get_bytes
(src: &mut &'a [u8], n: usize)
src/engine/context_index.rs:1000
↓ 9 callers
Method
inc_upstream_errors
(&self)
src/api/metrics.rs:265
↓ 9 callers
Method
read
(&mut self, max_len: usize)
src/db/upstream.rs:27
↓ 9 callers
Function
read_with_timeout
( reader: &mut R, buf: &mut [u8], timeout_ms: u64, )
tests/boundary_conditions.rs:44
↓ 9 callers
Method
remove
Remove a key from the failure cache.
src/db/failure_cache.rs:55
↓ 8 callers
Function
analyze_function
(name: &str, data: &[u8])
src/db/semantic.rs:101
↓ 8 callers
Function
collect_attr_tokens
(header: &ParsedAttrHeader, known_bits: u32)
src/protocol/lumina/type_decoder.rs:1277
↓ 8 callers
Function
decode_tinfo_decl
(type_bytes: &[u8], fields_bytes: &[u8])
src/protocol/lumina/type_decoder.rs:1622
↓ 8 callers
Method
get_binary_summary
(&self, md5: [u8; 16])
src/db/database.rs:1106
↓ 8 callers
Function
get_test_config
Helper to create a default config pointing to the temp dir
tests/database_integration.rs:21
↓ 8 callers
Function
progress_snapshot
( phase: RebuildProgressPhase, current: u64, total: u64, summary: SearchRebuildSummary, )
src/engine/search/rebuild.rs:251
↓ 8 callers
Function
raw_frame
Create a raw frame with custom length (potentially malformed)
tests/security_fuzzing.rs:24
↓ 8 callers
Method
read_at
(&self, offset: u64)
src/engine/segment.rs:170
↓ 8 callers
Function
setup_test_db_dir
Helper to create a temporary directory for tests
tests/database_integration.rs:9
↓ 8 callers
Function
shape_metadata_for_request
(data: &[u8], requested_mdkeys: &[u32])
src/db/semantic.rs:647
↓ 7 callers
Function
best_neighbor_tokens
(tokens: &[String], max_terms: usize)
src/engine/search/index.rs:642
↓ 7 callers
Method
commit
Commit pending changes and reload the reader.
src/engine/search/index.rs:272
↓ 7 callers
Function
dedup_tokens
(tokens: &mut Vec<String>)
src/db/semantic.rs:965
↓ 7 callers
Function
frame
Create a wire-format frame with message type and payload.
src/protocol/codec.rs:114
↓ 7 callers
Method
get_binary_function_keys
(&self, md5: &[u8; 16], limit: usize)
src/engine/context_index.rs:768
↓ 7 callers
Function
normalize_requested_mdkeys
(requested_mdkeys: &[u32])
src/db/semantic.rs:636
↓ 7 callers
Function
pack_addr
(seg_id: u16, offset: u64, flags: u8)
src/common/addr.rs:13
↓ 7 callers
Function
pack_ea64
Pack an ea64 address as unpack_dq() + 1.
src/protocol/lumina/wire.rs:175
↓ 7 callers
Method
parse_optional_tah
(&mut self)
src/protocol/lumina/type_decoder.rs:850
↓ 6 callers
Method
append
(&mut self, rec: &Record)
src/engine/segment.rs:88
↓ 6 callers
Function
encode_hello
(protocol_version: u32, username: &str, password: &str)
tests/performance_stress.rs:28
↓ 6 callers
Method
entry_count
(&self)
src/engine/index.rs:104
↓ 6 callers
Method
get_history
Get function history by key.
src/db/database.rs:774
↓ 6 callers
Function
hex_bytes
(bytes: &[u8])
src/bin/eval_semantic.rs:196
↓ 6 callers
Method
index_function_no_commit
Index a single function document without committing.
src/engine/search/index.rs:260
↓ 6 callers
Function
parse_md5_hex
(md5_hex: &str)
src/api/http/handlers.rs:1479
↓ 6 callers
Function
parse_md5_hex_local
(md5_hex: &str)
src/db/database.rs:2893
↓ 6 callers
Method
peek_byte
(&self)
src/protocol/lumina/type_decoder.rs:1253
↓ 6 callers
Function
sanitize_basename
(input: &str)
src/engine/context_index.rs:1339
↓ 6 callers
Function
unpack_cstr_capped
Unpack a null-terminated C-string with maximum length check.
src/protocol/lumina/wire.rs:189
↓ 6 callers
Function
unpack_var_bytes_capped
Unpack variable-length bytes with maximum length check.
src/protocol/lumina/wire.rs:202
↓ 6 callers
Method
weighted_term_clauses
( &self, field: Field, tokens: &[String], base_weight: f32, max_terms:
src/engine/search/index.rs:563
↓ 5 callers
Function
addr_off
(addr: Addr)
src/common/addr.rs:25
↓ 5 callers
Function
addr_seg
(addr: Addr)
src/common/addr.rs:19
↓ 5 callers
Function
decode_binary_meta
(mut b: &[u8])
src/engine/context_index.rs:1140
↓ 5 callers
Function
decode_key_md5_stats
(mut b: &[u8])
src/engine/context_index.rs:1215
↓ 5 callers
Function
filtered_tokens
(tokens: &[String])
src/bin/audit_neighbor_tokens.rs:340
↓ 5 callers
Method
get_key_md5_stats
(&self, key: u128, md5: &[u8; 16])
src/engine/context_index.rs:651
↓ 5 callers
Method
get_reader
(&self, seg_id: u16)
src/engine/segment.rs:559
↓ 5 callers
Function
get_u32_le
(src: &mut &[u8])
src/engine/context_index.rs:984
↓ 5 callers
Method
inc_decoder_rejects
(&self)
src/api/metrics.rs:250
↓ 5 callers
Method
open
(cfg: Engine, scoring: Scoring)
src/engine/mod.rs:34
↓ 5 callers
Method
push_with_ctx
Push function metadata with context information.
src/db/database.rs:310
↓ 5 callers
Function
put_u32_le
(v: u32, dst: &mut Vec<u8>)
src/engine/context_index.rs:970
↓ 5 callers
Function
read_with_timeout
( reader: &mut R, buf: &mut [u8], timeout_ms: u64, )
tests/performance_stress.rs:45
↓ 5 callers
Method
search
Search for functions matching the query. Returns up to `limit` results.
src/engine/search/index.rs:330
↓ 5 callers
Function
semantic_token_dice_score
(lhs: &[String], rhs: &[String])
src/db/database.rs:2503
↓ 5 callers
Function
shared_ranked_tokens
(lhs: &[String], rhs: &[String], limit: usize)
src/db/database.rs:2563
next →
1–100 of 746, ranked by callers