Static Call Graph for image .\game.axf



#<CALLGRAPH># ARM Linker, 5.03 [Build 76]: Last Updated: Wed Nov 29 03:06:44 2017

Maximum Stack Usage = 264 bytes + Unknown(Functions without stacksize, Cycles, Untraceable Function Pointers)

Call chain for Maximum Stack Depth:

main ⇒ game_opening ⇒ serial_input ⇒ __2sprintf ⇒ _printf_char_common ⇒ __printf

Functions with no stack information

Mutually Recursive functions

  • Undef_Handler   ⇒   Undef_Handler
  • SWI_Handler   ⇒   SWI_Handler
  • PAbt_Handler   ⇒   PAbt_Handler
  • DAbt_Handler   ⇒   DAbt_Handler
  • IRQ_Handler   ⇒   IRQ_Handler
  • FIQ_Handler   ⇒   FIQ_Handler

    Function Pointers

    Global Symbols

    Reset_Handler (ARM, 0 bytes, Stack size unknown bytes, startup.o(RESET))
    [Address Reference Count : 1]

    __main (ARM, 8 bytes, Stack size 0 bytes, __main.o(!!!main))

    [Calls]

    __scatterload (ARM, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter))

    [Called By]

    __scatterload_rt2 (ARM, 52 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)

    [Calls]

    __scatterload_null (ARM, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)

    __scatterload_zeroinit (ARM, 44 bytes, Stack size unknown bytes, __scatter_zi.o(!!handler_zi), UNUSED)

    __rt_lib_init (Thumb, 0 bytes, Stack size unknown bytes, libinit.o(.ARM.Collect$$libinit$$00000000))

    [Called By]

    __rt_lib_init_fp_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000002))

    __rt_lib_init_heap_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000008))

    __rt_lib_init_rand_2 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000000B))

    [Stack]


    [Calls]

    __rt_lib_init_user_alloc_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000000A))

    __rt_lib_init_alloca_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000002C))

    __rt_lib_init_argv_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000002A))

    __rt_lib_init_atexit_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000019))

    __rt_lib_init_clock_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000001F))

    __rt_lib_init_cpp_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000030))

    __rt_lib_init_exceptions_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000002E))

    __rt_lib_init_fp_trap_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000001D))

    __rt_lib_init_getenv_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000021))

    __rt_lib_init_lc_collate_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000000F))

    __rt_lib_init_lc_ctype_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000011))

    __rt_lib_init_lc_monetary_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000013))

    __rt_lib_init_lc_numeric_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000015))

    __rt_lib_init_lc_time_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000017))

    __rt_lib_init_rand_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000000C))

    __rt_lib_init_return (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000031))

    __rt_lib_init_signal_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000001B))

    __rt_lib_init_stdio_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000023))

    __rt_lib_shutdown (Thumb, 0 bytes, Stack size unknown bytes, libshutdown.o(.ARM.Collect$$libshutdown$$00000000))

    [Called By]

    __rt_lib_shutdown_fp_trap_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000006))

    __rt_lib_shutdown_heap_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$0000000E))

    __rt_lib_shutdown_return (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F))

    __rt_lib_shutdown_signal_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000009))

    __rt_lib_shutdown_stdio_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000003))

    __rt_lib_shutdown_user_alloc_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$0000000B))

    __rt_entry (ARM, 0 bytes, Stack size unknown bytes, rtentry.o(.ARM.Collect$$rtentry$$00000000))

    [Called By]

    __rt_entry_presh_1 (ARM, 0 bytes, Stack size unknown bytes, rtentry2.o(.ARM.Collect$$rtentry$$00000002))

    __rt_entry_sh (ARM, 0 bytes, Stack size unknown bytes, rtentry4.o(.ARM.Collect$$rtentry$$00000004))

    [Stack]


    [Calls]

    __rt_entry_li (ARM, 0 bytes, Stack size unknown bytes, rtentry2.o(.ARM.Collect$$rtentry$$0000000A))

    [Calls]

    __rt_entry_postsh_1 (ARM, 0 bytes, Stack size unknown bytes, rtentry2.o(.ARM.Collect$$rtentry$$00000009))

    __rt_entry_main (ARM, 0 bytes, Stack size unknown bytes, rtentry2.o(.ARM.Collect$$rtentry$$0000000D))

    [Calls]

    __rt_entry_postli_1 (ARM, 0 bytes, Stack size unknown bytes, rtentry2.o(.ARM.Collect$$rtentry$$0000000C))

    __rt_exit (ARM, 0 bytes, Stack size unknown bytes, rtexit.o(.ARM.Collect$$rtexit$$00000000))

    [Called By]

    __rt_exit_ls (ARM, 0 bytes, Stack size unknown bytes, rtexit2.o(.ARM.Collect$$rtexit$$00000003))

    [Calls]

    __rt_exit_prels_1 (ARM, 0 bytes, Stack size unknown bytes, rtexit2.o(.ARM.Collect$$rtexit$$00000002))

    __rt_exit_exit (ARM, 0 bytes, Stack size unknown bytes, rtexit2.o(.ARM.Collect$$rtexit$$00000004))

    [Calls]

    rand (Thumb, 52 bytes, Stack size 0 bytes, rand.o(.emb_text))

    [Called By]

    __user_initial_stackheap (ARM, 0 bytes, Stack size unknown bytes, startup.o(.text))

    [Called By]

    delay1 (ARM, 52 bytes, Stack size 0 bytes, prototype.o(.text), UNUSED)

    serial_input (ARM, 164 bytes, Stack size 24 bytes, prototype.o(.text))

    [Stack]


    [Calls]
    [Called By]

    game_opening (ARM, 676 bytes, Stack size 64 bytes, prototype.o(.text))

    [Stack]


    [Calls]
    [Called By]

    main (ARM, 368 bytes, Stack size 56 bytes, prototype.o(.text))

    [Stack]


    [Calls]
    [Address Reference Count : 1]

    delay (ARM, 52 bytes, Stack size 0 bytes, lcd.o(.text))

    [Called By]

    wait_lcd (ARM, 112 bytes, Stack size 4 bytes, lcd.o(.text))

    [Stack]


    [Calls]
    [Called By]

    lcd_command_write (ARM, 208 bytes, Stack size 16 bytes, lcd.o(.text))

    [Stack]


    [Calls]
    [Called By]

    set_lcd_port_output (ARM, 56 bytes, Stack size 0 bytes, lcd.o(.text))

    [Called By]

    lcd_clear (ARM, 20 bytes, Stack size 4 bytes, lcd.o(.text))

    [Stack]


    [Calls]
    [Called By]

    lcd_gotoxy (ARM, 96 bytes, Stack size 16 bytes, lcd.o(.text))

    [Stack]


    [Calls]
    [Called By]

    lcd_data_write (ARM, 156 bytes, Stack size 16 bytes, lcd.o(.text))

    [Stack]


    [Calls]
    [Called By]

    lcd_putchar (ARM, 24 bytes, Stack size 8 bytes, lcd.o(.text))

    [Stack]


    [Calls]
    [Called By]

    lcd_putstring (ARM, 80 bytes, Stack size 16 bytes, lcd.o(.text))

    [Stack]


    [Calls]
    [Called By]

    lcd_backlight_on (ARM, 40 bytes, Stack size 0 bytes, lcd.o(.text), UNUSED)

    turn_off_lcd_back_light_cb (ARM, 40 bytes, Stack size 0 bytes, lcd.o(.text), UNUSED)

    init_lcd (ARM, 68 bytes, Stack size 4 bytes, lcd.o(.text))

    [Stack]


    [Calls]
    [Called By]

    lcd_build_custom_char (ARM, 72 bytes, Stack size 16 bytes, lcd.o(.text))

    [Stack]


    [Calls]
    [Called By]

    lcd_customfont_putchar (ARM, 168 bytes, Stack size 48 bytes, lcd.o(.text), UNUSED)

    [Calls]

    sendchar (ARM, 80 bytes, Stack size 0 bytes, serial.o(.text), UNUSED)

    uart0_getkey (ARM, 32 bytes, Stack size 0 bytes, serial.o(.text))

    [Called By]

    uart1_getkey (ARM, 32 bytes, Stack size 0 bytes, serial.o(.text), UNUSED)

    uart0_init (ARM, 68 bytes, Stack size 0 bytes, serial.o(.text))

    [Called By]

    uart1_init (ARM, 76 bytes, Stack size 0 bytes, serial.o(.text), UNUSED)

    uart0_putc (ARM, 32 bytes, Stack size 0 bytes, serial.o(.text), UNUSED)

    [Called By]

    uart1_putc (ARM, 32 bytes, Stack size 0 bytes, serial.o(.text), UNUSED)

    [Called By]

    uart0_puts (ARM, 40 bytes, Stack size 4 bytes, serial.o(.text), UNUSED)

    [Calls]

    uart1_puts (ARM, 40 bytes, Stack size 4 bytes, serial.o(.text), UNUSED)

    [Calls]

    __2sprintf (Thumb, 36 bytes, Stack size 32 bytes, noretval__2sprintf.o(.text))

    [Stack]


    [Calls]
    [Called By]

    srand (Thumb, 48 bytes, Stack size 8 bytes, rand.o(.text))

    [Stack]


    [Called By]

    _rand_init (Thumb, 4 bytes, Stack size 0 bytes, rand.o(.text))

    [Stack]


    [Calls]
    [Called By]

    strlen (Thumb, 64 bytes, Stack size 8 bytes, strlen.o(.text))

    [Stack]


    [Called By]

    __aeabi_idiv (ARM, 0 bytes, Stack size 8 bytes, aeabi_sdiv.o(.text), UNUSED)

    __aeabi_idivmod (ARM, 384 bytes, Stack size 8 bytes, aeabi_sdiv.o(.text))

    [Stack]


    [Called By]

    __use_two_region_memory (Thumb, 2 bytes, Stack size 0 bytes, heapauxi.o(.text), UNUSED)

    __rt_heap_escrow$2region (Thumb, 2 bytes, Stack size 0 bytes, heapauxi.o(.text), UNUSED)

    __rt_heap_expand$2region (Thumb, 2 bytes, Stack size 0 bytes, heapauxi.o(.text), UNUSED)

    _printf_char_common (Thumb, 34 bytes, Stack size 64 bytes, _printf_char_common.o(.text))

    [Stack]


    [Calls]
    [Called By]

    _sputc (Thumb, 10 bytes, Stack size 0 bytes, _sputc.o(.text))

    [Called By]


    [Address Reference Count : 1]

    __printf (Thumb, 42 bytes, Stack size 24 bytes, __printf_nopercent.o(.text))

    [Stack]


    [Calls]
    [Called By]

    __user_setup_stackheap (ARM, 96 bytes, Stack size 8 bytes, sys_stackheap_outer.o(.text))

    [Stack]


    [Calls]
    [Called By]

    exit (Thumb, 12 bytes, Stack size 0 bytes, exit.o(.text))

    [Calls]


    [Called By]

    __user_libspace (ARM, 12 bytes, Stack size 0 bytes, libspace.o(.text), UNUSED)

    __user_perproc_libspace (ARM, 0 bytes, Stack size 0 bytes, libspace.o(.text))

    [Called By]

    __user_perthread_libspace (ARM, 0 bytes, Stack size 0 bytes, libspace.o(.text), UNUSED)

    _sys_exit (Thumb, 8 bytes, Stack size 0 bytes, sys_exit.o(.text))

    [Called By]

    __I$use$semihosting (ARM, 0 bytes, Stack size 0 bytes, use_no_semi.o(.text), UNUSED)

    __use_no_semihosting_swi (ARM, 4 bytes, Stack size 0 bytes, use_no_semi.o(.text), UNUSED)

    __ARM_common_call_via_r5 (Thumb, 2 bytes, Stack size 0 bytes, __printf_nopercent.o(i.__ARM_common_call_via_r5))

    [Called By]

    __semihosting_library_function (ARM, 0 bytes, Stack size 0 bytes, indicate_semi.o(.text), UNUSED)

    __ARM_common_call_via_r7 (Thumb, 2 bytes, Stack size 0 bytes, __printf_nopercent.o(i.__ARM_common_call_via_r7))

    [Called By]

    Local Symbols

    Undef_Handler (ARM, 4 bytes, Stack size unknown bytes, startup.o(RESET))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    SWI_Handler (ARM, 4 bytes, Stack size unknown bytes, startup.o(RESET))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    PAbt_Handler (ARM, 4 bytes, Stack size unknown bytes, startup.o(RESET))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    DAbt_Handler (ARM, 4 bytes, Stack size unknown bytes, startup.o(RESET))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    IRQ_Handler (ARM, 4 bytes, Stack size unknown bytes, startup.o(RESET))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    FIQ_Handler (ARM, 4 bytes, Stack size unknown bytes, startup.o(RESET))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    _printf_input_char (Thumb, 10 bytes, Stack size 0 bytes, _printf_char_common.o(.text))
    [Address Reference Count : 1]

    Undefined Global Symbols

    _call_atexit_fns (ARM, 0 bytes, Stack size 0 bytes, UNDEFINED)

    [Called By]