|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <dc/ubc.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdalign.h>#include <stdatomic.h>Macros | |
| #define | VERIFY(expr) |
Functions | |
| static bool | on_break (const ubc_breakpoint_t *bp, const irq_context_t *ctx, void *ud) |
| static __noinline int | test_function (const char *str1, const char *str2) |
| static bool | break_on_instruction (void) |
| static bool | break_on_data_region_read (void) |
| static bool | break_on_sized_data_write_value (void) |
| static bool | break_on_sized_operand_region_access_value_range (void) |
| bool | break_on_sequence (void) |
| int | main (int argc, char *argv[]) |
Variables | |
| static atomic_bool | handled = false |
| #define VERIFY | ( | expr | ) |
Referenced by break_on_data_region_read(), break_on_instruction(), break_on_sequence(), break_on_sized_data_write_value(), and break_on_sized_operand_region_access_value_range().
|
static |
References handled, on_break(), printf, ubc_access_operand, ubc_add_breakpoint(), ubc_address_mask_10, ubc_remove_breakpoint(), ubc_rw_read, and VERIFY.
Referenced by main().
|
static |
References handled, on_break(), printf, test_function(), ubc_add_breakpoint(), and VERIFY.
Referenced by main().
| bool break_on_sequence | ( | void | ) |
References handled, on_break(), printf, test_function(), ubc_access_operand, ubc_add_breakpoint(), ubc_address_mask_10, ubc_rw_write, ubc_size_32bit, uint32_t(), and VERIFY.
Referenced by main().
|
static |
References handled, on_break(), printf, tmp, ubc_access_operand, ubc_add_breakpoint(), ubc_rw_write, ubc_size_16bit, and VERIFY.
Referenced by main().
|
static |
References handled, on_break(), printf, ubc_access_operand, ubc_add_breakpoint(), ubc_address_mask_10, ubc_remove_breakpoint(), ubc_size_32bit, uint32_t(), and VERIFY.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] ) |
|
static |
References CONTEXT_PC, handled, and printf.
Referenced by break_on_data_region_read(), break_on_instruction(), break_on_sequence(), break_on_sized_data_write_value(), and break_on_sized_operand_region_access_value_range().
|
static |
Referenced by break_on_instruction(), and break_on_sequence().
|
static |