``find_next_constant`` searches for integer constant ``constant`` occurring in the linear view output starting at the virtual address ``start`` until the end of the BinaryView. :param int start: virtual address to start searching from. :param int constant: constant to search for :param D
( self, start: int, constant: int, settings: Optional[_function.DisassemblySettings] = None, graph_type: _function.FunctionViewTypeOrName = FunctionGraphType.NormalFunctionGraph )
| 8941 | return result.value |
| 8942 | |
| 8943 | def find_next_constant( |
| 8944 | self, start: int, constant: int, settings: Optional[_function.DisassemblySettings] = None, |
| 8945 | graph_type: _function.FunctionViewTypeOrName = FunctionGraphType.NormalFunctionGraph |
| 8946 | ) -> Optional[int]: |
| 8947 | """ |
| 8948 | ``find_next_constant`` searches for integer constant ``constant`` occurring in the linear view output starting at the virtual |
| 8949 | address ``start`` until the end of the BinaryView. |
| 8950 | |
| 8951 | :param int start: virtual address to start searching from. |
| 8952 | :param int constant: constant to search for |
| 8953 | :param DisassemblySettings settings: disassembly settings |
| 8954 | :param FunctionViewType graph_type: the IL to search within |
| 8955 | """ |
| 8956 | if not isinstance(constant, int): |
| 8957 | raise TypeError("constant parameter is not integral type") |
| 8958 | if settings is None: |
| 8959 | settings = _function.DisassemblySettings() |
| 8960 | if not isinstance(settings, _function.DisassemblySettings): |
| 8961 | raise TypeError("settings parameter is not DisassemblySettings type") |
| 8962 | |
| 8963 | result = ctypes.c_ulonglong() |
| 8964 | graph_type = _function.FunctionViewType(graph_type)._to_core_struct() |
| 8965 | if not core.BNFindNextConstant(self.handle, start, constant, result, settings.handle, graph_type): |
| 8966 | return None |
| 8967 | return result.value |
| 8968 | |
| 8969 | class QueueGenerator: |
| 8970 | def __init__(self, t, results): |
nothing calls this directly
no test coverage detected