mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 09:53:59 +09:00
204 lines
6.0 KiB
Plaintext
204 lines
6.0 KiB
Plaintext
|
|
Marking local functions:
|
|
|
|
|
|
Marking externally visible functions: debug_printf uart_putc Gvar_init PrintLogo
|
|
|
|
|
|
Marking externally visible variables:
|
|
|
|
Clearing variable flags:
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
Symbol table:
|
|
|
|
strlen/38 (strlen) @08711540
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: debug_printf/32 (118111600 (estimated locally),1.00 per call)
|
|
Calls:
|
|
__builtin_va_end/37 (__builtin_va_end) @087112a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: debug_printf/32 (118111600 (estimated locally),1.00 per call)
|
|
Calls:
|
|
vsprintf/36 (vsprintf) @08711000
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: debug_printf/32 (118111600 (estimated locally),1.00 per call)
|
|
Calls:
|
|
__builtin_va_start/35 (__builtin_va_start) @08711ee0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: debug_printf/32 (118111600 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Lpuart_Uart_Ip_SyncSend/34 (Lpuart_Uart_Ip_SyncSend) @08711d20
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: uart_putc/31 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
gb/33 (gb) @087150d8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Gvar_init/30 (write)Gvar_init/30 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
debug_printf/32 (debug_printf) @08711700
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:118111600 (estimated locally) body optimize_size
|
|
Called by: PrintLogo/29 (1073741824 (estimated locally),1.00 per call) PrintLogo/29 (1073741824 (estimated locally),1.00 per call) PrintLogo/29 (1073741824 (estimated locally),1.00 per call) PrintLogo/29 (1073741824 (estimated locally),1.00 per call) PrintLogo/29 (1073741824 (estimated locally),1.00 per call) PrintLogo/29 (1073741824 (estimated locally),1.00 per call) PrintLogo/29 (1073741824 (estimated locally),1.00 per call)
|
|
Calls: uart_putc/31 (955630223 (estimated locally),8.09 per call) strlen/38 (118111600 (estimated locally),1.00 per call) __builtin_va_end/37 (118111600 (estimated locally),1.00 per call) vsprintf/36 (118111600 (estimated locally),1.00 per call) __builtin_va_start/35 (118111600 (estimated locally),1.00 per call)
|
|
uart_putc/31 (uart_putc) @08711460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: debug_printf/32 (955630223 (estimated locally),8.09 per call)
|
|
Calls: Lpuart_Uart_Ip_SyncSend/34 (1073741824 (estimated locally),1.00 per call)
|
|
Gvar_init/30 (Gvar_init) @087111c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: gb/33 (write)gb/33 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls:
|
|
PrintLogo/29 (PrintLogo) @0870fee0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References:
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: debug_printf/32 (1073741824 (estimated locally),1.00 per call) debug_printf/32 (1073741824 (estimated locally),1.00 per call) debug_printf/32 (1073741824 (estimated locally),1.00 per call) debug_printf/32 (1073741824 (estimated locally),1.00 per call) debug_printf/32 (1073741824 (estimated locally),1.00 per call) debug_printf/32 (1073741824 (estimated locally),1.00 per call) debug_printf/32 (1073741824 (estimated locally),1.00 per call)
|
|
debug_printf (char * msg)
|
|
{
|
|
u8 len;
|
|
u8 i;
|
|
struct va_list argptr;
|
|
char str[256];
|
|
unsigned int _1;
|
|
int _2;
|
|
char _3;
|
|
|
|
<bb 2> [local count: 118111600]:
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
__builtin_va_start (&argptr, 0);
|
|
# DEBUG BEGIN_STMT
|
|
vsprintf (&str, msg_8(D), argptr);
|
|
# DEBUG BEGIN_STMT
|
|
__builtin_va_end (&argptr);
|
|
# DEBUG BEGIN_STMT
|
|
_1 = strlen (&str);
|
|
len_11 = (u8) _1;
|
|
# DEBUG len => len_11
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG i => 0
|
|
goto <bb 4>; [100.00%]
|
|
|
|
<bb 3> [local count: 955630223]:
|
|
# DEBUG BEGIN_STMT
|
|
_2 = (int) i_4;
|
|
_3 = str[_2];
|
|
uart_putc (_3);
|
|
# DEBUG BEGIN_STMT
|
|
i_15 = i_4 + 1;
|
|
# DEBUG i => i_15
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
# i_4 = PHI <0(2), i_15(3)>
|
|
# DEBUG i => i_4
|
|
# DEBUG BEGIN_STMT
|
|
if (i_4 < len_11)
|
|
goto <bb 3>; [89.00%]
|
|
else
|
|
goto <bb 5>; [11.00%]
|
|
|
|
<bb 5> [local count: 118111601]:
|
|
str ={v} {CLOBBER};
|
|
argptr ={v} {CLOBBER};
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
uart_putc (char ch)
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
Lpuart_Uart_Ip_SyncSend (0, &ch, 1);
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Gvar_init ()
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
gb.ubuf_head = 0;
|
|
# DEBUG BEGIN_STMT
|
|
gb.ubuf_tail = 0;
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
PrintLogo ()
|
|
{
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
debug_printf ("\n\r\n");
|
|
# DEBUG BEGIN_STMT
|
|
debug_printf ("================================================\r\n");
|
|
# DEBUG BEGIN_STMT
|
|
debug_printf (" MR S32K344 APPLICATION\n");
|
|
# DEBUG BEGIN_STMT
|
|
debug_printf (" Version 0.1\n");
|
|
# DEBUG BEGIN_STMT
|
|
debug_printf (" Author : sihong89@gmail.com\n");
|
|
# DEBUG BEGIN_STMT
|
|
debug_printf (" Last compiled : %s %s\n", "Oct 16 2021", "14:16:57");
|
|
# DEBUG BEGIN_STMT
|
|
debug_printf ("================================================\r\n");
|
|
return;
|
|
|
|
}
|
|
|
|
|