Analyzer: windows-make: memorization error: on their memories word is their messages.
It can be used to memorieze to the 8, and in aFree, 7 and 8 memorization is not possible.
> .\winmain_001.exe
copyof_test () starts.
int initialize_parse_001 () starts.
token RETUNABLE
int initialize_parse_001 () ends.
copyof_test () ends.
void print_memories () starts.
p|006E0F88|:dummy_ary[0]=|RETUNABLE|
p|006E7E18|:dummy_ary[1]=|RETUNABLE|
p|006E7F20|:dummy_ary[2]=|RETUNABLE|
p|006E8028|:dummy_ary[3]=|RETUNABLE|
p|006E8238|:dummy_ary[4]=|RETUNABLE|
void print_memories () ends.
---
m_replaced |00511090||<img src="http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg">| ends.
string|<img src="$00">|
url|http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg|
replaced|<img src="http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg">|
void print_memories () starts.
p|00510F88|:dummy_ary[0]=|RETUNABLE|
p|00517E18|:dummy_ary[1]=|RETUNABLE|
p|00517F20|:dummy_ary[2]=|RETUNABLE|
p|00518028|:dummy_ary[3]=|RETUNABLE|
p|00518238|:dummy_ary[4]=|RETUNABLE|
p|00511090|:dummy_ary[5]=|<img src="http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg">|
p|00511090|:dummy_ary[6]=|<img src="http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg">|
p|005110E8|:dummy_ary[7]=|・Q|
p|00511188|:dummy_ary[8]=|0_|
void print_memories () ends.
---
m_replaced |009B1090||<img src="http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg">| ends.
string|<img src="$00">|
url|http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg|
replaced|<img src="http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg">|
void print_memories () starts.
p|009B0F88|:dummy_ary[0]=|RETUNABLE|
p|009B7E18|:dummy_ary[1]=|RETUNABLE|
p|009B7F20|:dummy_ary[2]=|RETUNABLE|
p|009B8028|:dummy_ary[3]=|RETUNABLE|
p|009B8238|:dummy_ary[4]=|RETUNABLE|
p|009B1090|:dummy_ary[5]=|<img src="http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg">|
p|009B1090|:dummy_ary[6]=|<img src="http://img-cdn.jg.jugem.jp/cf3/3928048/20210521_2120204.jpg">|
p|009B10E8|:dummy_ary[7]=|・斈
p|009B1188|:dummy_ary[8]=|0○|
void print_memories () ends.
---
As a programmer the above one is a error but not controled in memories.
sizeof(char**) is same as sizeof(char*) as number.
so, the above message is the problem of compiler.
//
char* err_msg_001(const char *fmt, ...)
{
int send_success = 0;
char** argv;
int argc;
char* result;
va_list ap;
va_start(ap, fmt);
result = err_doit_001(0, 0, fmt, ap);
va_end(ap);
argc = 3;
// argv = (char**) malloc( sizeof(char**) * argc ) ; <- mis-memorization but OK.
argv = (char**) malloc( sizeof(char*) * argc ) ;
set_sender_default_parameters ( &argc, argv ) ;
argv[2] = (char *) result;
if ( print_socket_msg == 1 ) {
send_success = sender_main ( argc, argv ) ;
}
for ( int i=0; i<3; i++ )
free(argv[i]);
free(argv);
return result;
}
Error:
https://github.com/WaitrudWeber/source_zip/blob/master/replace_20210523_02-001.zip
Well:
https://github.com/WaitrudWeber/source_zip/blob/master/replace_20210523.zip