mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
docs: Enhance module documentation across various files for clarity a… (#62)
* docs: Enhance module documentation across various files for clarity and completeness * fix: Remove unnecessary blank line in build.rs for cleaner code * docs: Update documentation to improve clarity and consistency in code comments
This commit is contained in:
parent
40995e45e7
commit
1f2bfe76c1
44 changed files with 721 additions and 366 deletions
|
|
@ -43,7 +43,7 @@ fn is_container_read_callee(callee: &str) -> bool {
|
|||
)
|
||||
}
|
||||
|
||||
/// Container-write callees, mirror of [`is_container_read_callee`].
|
||||
/// Container-write callees, mirror of `is_container_read_callee`.
|
||||
pub fn is_container_write_callee(callee: &str) -> bool {
|
||||
let bare = match callee.rsplit_once('.') {
|
||||
Some((_, m)) => m,
|
||||
|
|
@ -66,7 +66,7 @@ pub fn is_container_write_callee(callee: &str) -> bool {
|
|||
)
|
||||
}
|
||||
|
||||
/// Public re-export of [`is_container_read_callee`] for the taint engine.
|
||||
/// Public re-export of `is_container_read_callee` for the taint engine.
|
||||
pub fn is_container_read_callee_pub(callee: &str) -> bool {
|
||||
is_container_read_callee(callee)
|
||||
}
|
||||
|
|
@ -92,7 +92,7 @@ pub fn is_container_read_callee_pub(callee: &str) -> bool {
|
|||
///
|
||||
/// Receiver (`SelfParam`) reads/writes are recorded under the
|
||||
/// [`u32::MAX`] sentinel parameter index, mirroring the convention in
|
||||
/// [`crate::summary::ssa_summary::SsaFuncSummary::receiver_to_*`].
|
||||
/// `SsaFuncSummary::receiver_to_*` fields.
|
||||
///
|
||||
/// The container-element sentinel field [`FieldId::ELEM`] is recorded
|
||||
/// under the special name `"<elem>"` so callers can recognise the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue