MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / is_integer_ty

Function is_integer_ty

src/program/gadget.rs:762–783  ·  view source on GitHub ↗
(ty: &str)

Source from the content-addressed store, hash-verified

760 }
761
762 pub fn is_integer_ty(ty: &str) -> bool {
763 matches!(
764 ty,
765 "uint8_t"
766 | "uint16_t"
767 | "uint32_t"
768 | "uint64_t"
769 | "int8_t"
770 | "int16_t"
771 | "int32_t"
772 | "int64_t"
773 | "int"
774 | "unsigned int"
775 | "short"
776 | "long"
777 | "unsigned short"
778 | "unsigned long"
779 | "long long"
780 | "unsigned long long"
781 | "size_t"
782 )
783 }
784
785 pub fn is_unsigned_integer_ty(ty: &str) -> bool {
786 matches!(

Callers 4

is_integeral_pointerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected