angr.analyses.reaching_definitions.function_handler_library.stdio¶
- class angr.analyses.reaching_definitions.function_handler_library.stdio.StdoutAtom¶
Bases:
Atom- size
- angr.analyses.reaching_definitions.function_handler_library.stdio.parse_format_string(format_string)¶
- class angr.analyses.reaching_definitions.function_handler_library.stdio.LibcStdioHandlers¶
Bases:
FunctionHandler- handle_impl_printf(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_dprintf(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_fprintf(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_sprintf(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_snprintf(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl___sprintf_chk(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl___snprintf_chk(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_scanf(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl___isoc99_scanf(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_sscanf(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl___isoc99_sscanf(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_fgets(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_fgetc(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_getchar(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_getc(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_fread(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- handle_impl_fwrite(f)
Decorate a function handler method with this to make it take a FunctionCallDataUnwrapped instead of a FunctionCallData.
- Return type:
Callable[[FunctionHandler,ReachingDefinitionsState,FunctionCallData],None]- Parameters:
f (Callable[[FunctionHandler, ReachingDefinitionsState, FunctionCallDataUnwrapped], None])
- angr.analyses.reaching_definitions.function_handler_library.stdio.handle_printf(state, data, fmt_idx)¶
- Return type:
tuple[MultiValues|None,Iterable[Atom]]- Parameters:
state (ReachingDefinitionsState)
data (FunctionCallDataUnwrapped)
fmt_idx (int)
- angr.analyses.reaching_definitions.function_handler_library.stdio.handle_scanf(state, data, fmt_idx, source_atoms)¶
- Parameters:
state (ReachingDefinitionsState)
data (FunctionCallDataUnwrapped)
fmt_idx (int)