MCPcopy Create free account
hub / github.com/qilingframework/qiling / __count_slots

Method __count_slots

qiling/os/fcall.py:109–112  ·  view source on GitHub ↗
(self, ptypes: Iterable[Any])

Source from the content-addressed store, hash-verified

107 si += nslots
108
109 def __count_slots(self, ptypes: Iterable[Any]) -> int:
110 default = self.accessors[PARAM_INTN]
111
112 return sum(self.accessors.get(typ, default)[2] for typ in ptypes)
113
114 @staticmethod
115 def __get_typed_args(proto: Mapping[str, Any], args: Mapping[str, Any]) -> Iterable[TypedArg]:

Callers 2

callMethod · 0.95
call_nativeMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected