Static Call Graph for image .\Demo_STM32F103.axf



#<CALLGRAPH># ARM Linker, 5050106: Last Updated: Thu Mar 26 16:35:51 2020

Maximum Stack Usage = 472 bytes + Unknown(Untraceable Function Pointers)

Call chain for Maximum Stack Depth:

main ⇒ do_dns ⇒ dns_query ⇒ parseMSG ⇒ dns_answer ⇒ parse_name

Function Pointers

Global Symbols

__main (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
[Address Reference Count : 1]

_main_stk (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))

_main_scatterload (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))

[Calls]

__main_after_scatterload (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))

[Called By]

_main_clock (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))

_main_cpp_init (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))

_main_init (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))

__rt_final_cpp (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D))

__rt_final_exit (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F))

Reset_Handler (Thumb, 4 bytes, Stack size 0 bytes, stm32f10x.o(.text))

RCC_Configuration (Thumb, 138 bytes, Stack size 8 bytes, system_init.o(.text))

[Stack]


[Calls]
[Called By]

NVIC_Configuration (Thumb, 72 bytes, Stack size 8 bytes, system_init.o(.text))

[Stack]


[Calls]
[Called By]

UART_Configuration (Thumb, 128 bytes, Stack size 24 bytes, system_init.o(.text))

[Stack]


[Calls]
[Called By]

Timer_Configuration (Thumb, 56 bytes, Stack size 16 bytes, system_init.o(.text))

[Stack]


[Calls]
[Called By]

IO_Configuration (Thumb, 118 bytes, Stack size 8 bytes, system_init.o(.text))

[Stack]


[Calls]
[Called By]

FSMC_SRAM_Init (Thumb, 192 bytes, Stack size 96 bytes, system_init.o(.text))

[Stack]


[Calls]
[Called By]

System_Initialization (Thumb, 34 bytes, Stack size 8 bytes, system_init.o(.text))

[Stack]


[Calls]
[Called By]

Delay (Thumb, 40 bytes, Stack size 8 bytes, demo.o(.text))

[Stack]


[Called By]

W5300_Config (Thumb, 108 bytes, Stack size 8 bytes, demo.o(.text))

[Stack]


[Calls]
[Called By]

fputc (Thumb, 32 bytes, Stack size 16 bytes, demo.o(.text))

[Stack]


[Calls]
[Address Reference Count : 1]

main (Thumb, 116 bytes, Stack size 40 bytes, demo.o(.text))

[Stack]


[Calls]
[Address Reference Count : 1]

NMIException (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text), UNUSED)

NMI_Handler (Thumb, 0 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

HardFaultException (Thumb, 4 bytes, Stack size 0 bytes, stm32f10x_it.o(.text), UNUSED)

HardFault_Handler (Thumb, 0 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

MemManageException (Thumb, 4 bytes, Stack size 0 bytes, stm32f10x_it.o(.text), UNUSED)

MemManage_Handler (Thumb, 0 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

BusFaultException (Thumb, 4 bytes, Stack size 0 bytes, stm32f10x_it.o(.text), UNUSED)

BusFault_Handler (Thumb, 0 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

UsageFaultException (Thumb, 4 bytes, Stack size 0 bytes, stm32f10x_it.o(.text), UNUSED)

UsageFault_Handler (Thumb, 0 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

DebugMon_Handler (Thumb, 0 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

DebugMonitor (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text), UNUSED)

SVCHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text), UNUSED)

SVC_Handler (Thumb, 0 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

PendSVC (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text), UNUSED)

PendSV_Handler (Thumb, 0 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

SysTickHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text), UNUSED)

SysTick_Handler (Thumb, 0 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

WWDG_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

PVD_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

TAMPER_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

RTC_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

FLASH_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

RCC_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

EXTI0_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

EXTI1_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

EXTI2_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

EXTI3_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

EXTI4_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

DMAChannel1_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

DMAChannel2_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

DMAChannel3_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

DMAChannel4_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

DMAChannel5_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

DMAChannel6_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

DMAChannel7_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

ADC_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

USB_HP_CAN_TX_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

USB_LP_CAN_RX0_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

CAN_RX1_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

CAN_SCE_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

EXTI9_5_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

TIM1_BRK_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

TIM1_UP_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

TIM1_TRG_COM_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

TIM1_CC_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

TIM2_IRQHandler (Thumb, 34 bytes, Stack size 8 bytes, stm32f10x_it.o(.text))

[Stack]


[Calls]
[Address Reference Count : 1]

TIM3_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

TIM4_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

I2C1_EV_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

I2C1_ER_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

I2C2_EV_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

I2C2_ER_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

SPI1_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

SPI2_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

USART1_IRQHandler (Thumb, 48 bytes, Stack size 8 bytes, stm32f10x_it.o(.text))

[Stack]


[Calls]
[Address Reference Count : 1]

USART2_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

USART3_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

EXTI15_10_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

RTCAlarm_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

USBWakeUp_IRQHandler (Thumb, 2 bytes, Stack size 0 bytes, stm32f10x_it.o(.text))
[Address Reference Count : 1]

htons (Thumb, 14 bytes, Stack size 0 bytes, dns.o(.text))

[Called By]

ntohs (Thumb, 12 bytes, Stack size 4 bytes, dns.o(.text))

[Stack]


[Calls]
[Called By]

Socket_UDP (Thumb, 158 bytes, Stack size 32 bytes, dns.o(.text))

[Stack]


[Calls]
[Called By]

sendto (Thumb, 154 bytes, Stack size 24 bytes, dns.o(.text))

[Stack]


[Called By]

Read_SOCK_Data_Buffer (Thumb, 128 bytes, Stack size 28 bytes, dns.o(.text))

[Stack]


[Called By]

parse_name (Thumb, 166 bytes, Stack size 284 bytes, dns.o(.text))

[Stack]


[Called By]

dns_question (Thumb, 38 bytes, Stack size 16 bytes, dns.o(.text))

[Stack]


[Calls]
[Called By]

dns_answer (Thumb, 248 bytes, Stack size 20 bytes, dns.o(.text))

[Stack]


[Calls]
[Called By]

parseMSG (Thumb, 236 bytes, Stack size 32 bytes, dns.o(.text))

[Stack]


[Calls]
[Called By]

dns_makequery (Thumb, 194 bytes, Stack size 40 bytes, dns.o(.text))

[Stack]


[Calls]
[Called By]

dns_query (Thumb, 520 bytes, Stack size 72 bytes, dns.o(.text))

[Stack]


[Calls]
[Called By]

do_dns (Thumb, 116 bytes, Stack size 24 bytes, dns.o(.text))

[Stack]


[Calls]
[Called By]

__aeabi_memset (Thumb, 14 bytes, Stack size 0 bytes, memseta.o(.text))

[Called By]

__aeabi_memset4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)

__aeabi_memset8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)

__aeabi_memclr (Thumb, 4 bytes, Stack size 0 bytes, memseta.o(.text))

[Calls]


[Called By]

__aeabi_memclr4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)

__aeabi_memclr8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)

_memset$wrapper (Thumb, 18 bytes, Stack size 8 bytes, memseta.o(.text), UNUSED)

[Calls]

strncpy (Thumb, 24 bytes, Stack size 8 bytes, strncpy.o(.text))

[Stack]


[Called By]

strchr (Thumb, 20 bytes, Stack size 0 bytes, strchr.o(.text))

[Called By]

strlen (Thumb, 14 bytes, Stack size 0 bytes, strlen.o(.text))

[Called By]

__aeabi_uidiv (Thumb, 0 bytes, Stack size 12 bytes, uidiv.o(.text), UNUSED)

__aeabi_uidivmod (Thumb, 44 bytes, Stack size 12 bytes, uidiv.o(.text), UNUSED)

[Called By]

__scatterload (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))

[Calls]


[Called By]

__scatterload_rt2 (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)

FLASH_PrefetchBufferCmd (Thumb, 18 bytes, Stack size 0 bytes, stm32f10x_flash.o(i.FLASH_PrefetchBufferCmd))

[Called By]

FLASH_SetLatency (Thumb, 18 bytes, Stack size 0 bytes, stm32f10x_flash.o(i.FLASH_SetLatency))

[Called By]

FSMC_NORSRAMCmd (Thumb, 28 bytes, Stack size 0 bytes, stm32f10x_fsmc.o(i.FSMC_NORSRAMCmd))

[Called By]

FSMC_NORSRAMInit (Thumb, 190 bytes, Stack size 20 bytes, stm32f10x_fsmc.o(i.FSMC_NORSRAMInit))

[Stack]


[Called By]

GPIO_Init (Thumb, 160 bytes, Stack size 20 bytes, stm32f10x_gpio.o(i.GPIO_Init))

[Stack]


[Called By]

GPIO_ReadInputDataBit (Thumb, 14 bytes, Stack size 0 bytes, stm32f10x_gpio.o(i.GPIO_ReadInputDataBit))

[Called By]

GPIO_ResetBits (Thumb, 4 bytes, Stack size 0 bytes, stm32f10x_gpio.o(i.GPIO_ResetBits))

[Called By]

GPIO_SetBits (Thumb, 4 bytes, Stack size 0 bytes, stm32f10x_gpio.o(i.GPIO_SetBits))

[Called By]

NVIC_Init (Thumb, 116 bytes, Stack size 20 bytes, stm32f10x_nvic.o(i.NVIC_Init))

[Stack]


[Called By]

NVIC_SetVectorTable (Thumb, 12 bytes, Stack size 0 bytes, stm32f10x_nvic.o(i.NVIC_SetVectorTable))

[Called By]

RCC_AHBPeriphClockCmd (Thumb, 18 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_AHBPeriphClockCmd))

[Called By]

RCC_APB1PeriphClockCmd (Thumb, 18 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_APB1PeriphClockCmd))

[Called By]

RCC_APB2PeriphClockCmd (Thumb, 18 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd))

[Called By]

RCC_DeInit (Thumb, 48 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_DeInit))

[Called By]

RCC_GetClocksFreq (Thumb, 132 bytes, Stack size 12 bytes, stm32f10x_rcc.o(i.RCC_GetClocksFreq))

[Stack]


[Called By]

RCC_GetFlagStatus (Thumb, 42 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_GetFlagStatus))

[Called By]

RCC_GetSYSCLKSource (Thumb, 10 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_GetSYSCLKSource))

[Called By]

RCC_HCLKConfig (Thumb, 14 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_HCLKConfig))

[Called By]

RCC_HSEConfig (Thumb, 48 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_HSEConfig))

[Called By]

RCC_PCLK1Config (Thumb, 14 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_PCLK1Config))

[Called By]

RCC_PCLK2Config (Thumb, 16 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_PCLK2Config))

[Called By]

RCC_PLLCmd (Thumb, 6 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_PLLCmd))

[Called By]

RCC_PLLConfig (Thumb, 16 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_PLLConfig))

[Called By]

RCC_SYSCLKConfig (Thumb, 14 bytes, Stack size 0 bytes, stm32f10x_rcc.o(i.RCC_SYSCLKConfig))

[Called By]

RCC_WaitForHSEStartUp (Thumb, 46 bytes, Stack size 12 bytes, stm32f10x_rcc.o(i.RCC_WaitForHSEStartUp))

[Stack]


[Calls]
[Called By]

TIM_ClearITPendingBit (Thumb, 6 bytes, Stack size 0 bytes, stm32f10x_tim.o(i.TIM_ClearITPendingBit))

[Called By]

TIM_Cmd (Thumb, 22 bytes, Stack size 0 bytes, stm32f10x_tim.o(i.TIM_Cmd))

[Called By]

TIM_GetITStatus (Thumb, 24 bytes, Stack size 0 bytes, stm32f10x_tim.o(i.TIM_GetITStatus))

[Called By]

TIM_ITConfig (Thumb, 16 bytes, Stack size 0 bytes, stm32f10x_tim.o(i.TIM_ITConfig))

[Called By]

TIM_TimeBaseInit (Thumb, 52 bytes, Stack size 8 bytes, stm32f10x_tim.o(i.TIM_TimeBaseInit))

[Stack]


[Called By]

USART_ClearITPendingBit (Thumb, 12 bytes, Stack size 0 bytes, stm32f10x_usart.o(i.USART_ClearITPendingBit))

[Called By]

USART_Cmd (Thumb, 20 bytes, Stack size 0 bytes, stm32f10x_usart.o(i.USART_Cmd))

[Called By]

USART_GetFlagStatus (Thumb, 14 bytes, Stack size 0 bytes, stm32f10x_usart.o(i.USART_GetFlagStatus))

[Called By]

USART_GetITStatus (Thumb, 62 bytes, Stack size 16 bytes, stm32f10x_usart.o(i.USART_GetITStatus))

[Stack]


[Called By]

USART_ITConfig (Thumb, 48 bytes, Stack size 8 bytes, stm32f10x_usart.o(i.USART_ITConfig))

[Stack]


[Called By]

USART_Init (Thumb, 130 bytes, Stack size 32 bytes, stm32f10x_usart.o(i.USART_Init))

[Stack]


[Calls]
[Called By]

USART_SendData (Thumb, 8 bytes, Stack size 0 bytes, stm32f10x_usart.o(i.USART_SendData))

[Called By]

__0printf$3 (Thumb, 22 bytes, Stack size 24 bytes, printf3.o(i.__0printf$3), UNUSED)

[Calls]

__1printf$3 (Thumb, 0 bytes, Stack size 24 bytes, printf3.o(i.__0printf$3), UNUSED)

__2printf (Thumb, 0 bytes, Stack size 24 bytes, printf3.o(i.__0printf$3))

[Stack]


[Called By]

__scatterload_copy (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)

__scatterload_null (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)

__scatterload_zeroinit (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)

Local Symbols

_printf_core (Thumb, 436 bytes, Stack size 96 bytes, printf3.o(i._printf_core), UNUSED)

[Calls]


[Called By]

Undefined Global Symbols