Memory Overwrites (Code Analysis)

Code, algorithms, languages, construction...
Post Reply
User avatar
kingliveson
Posts: 1388
Joined: Thu Jun 10, 2010 1:22 am
Real Name: Franklin Titus
Location: 28°32'1"N 81°22'33"W

Memory Overwrites (Code Analysis)

Post by kingliveson » Sat Dec 04, 2010 6:49 am

1>------ Rebuild All started: Project: IvanHoe999949j, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'IvanHoe999949j', configuration 'Release|Win32'
1>Compiling...
1>50move.c
1>Zobrist_use.c
1>..\Zobrist_use.c(204) : warning C4244: 'initializing' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>Zobrist_init.c
1>..\Zobrist_init.c(17) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Zobrist_init.c(28) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\Zobrist_init.c(48) : warning C4244: 'function' : conversion from '__int64' to 'size_t', possible loss of data
1>..\Zobrist_init.c(59) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
1>..\Zobrist_init.c(96) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
1>..\Zobrist_init.c(213) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Zobrist_init.c(227) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\Zobrist_init.c(232) : warning C4013: 'SETUP_PRIVILEGES' undefined; assuming extern returning int
1>..\Zobrist_init.c(240) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
1>..\Zobrist_init.c(242) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\Zobrist_init.c(243) : warning C4244: 'function' : conversion from '__int64' to 'int', possible loss of data
1>validate.c
1>utility.c
1>..\utility.c(72) : warning C4101: 'b' : unreferenced local variable
1>un_make_move.c
1>TopNodeMonteCarlo.c
1>top_node.c
1>top_analysis.c
1>static.c
1>SMP_search.c
1>SMP_init.c
1>..\SMP_init.c(80) : warning C4013: 'OfftoneTripleSMP' undefined; assuming extern returning int
1>..\SMP_init.c(100) : warning C4013: 'SubsumeTripleSMP' undefined; assuming extern returning int
1>SMP.c
1>..\SMP.c(28) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\SMP.c(189) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
1>..\SMP.c(292) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>SLAB_MEMORY.c
1>signals.c
1>set_position.c
1>..\set_position.c(341) : warning C4090: 'function' : different 'const' qualifiers
1>SEE.c
1>search.c
1>IvanHoe\null_move.i(20) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
1>..\search.c(25) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\search.c(43) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\search.c(45) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\search.c(111) : warning C4018: '<' : signed/unsigned mismatch
1>..\search.c(177) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\search.c(294) : warning C4244: '=' : conversion from 'unsigned __int64' to 'unsigned char', possible loss of data
1>RootNodeMonteCarlo.c
1>root_node.c
1>Running Code Analysis for C/C++...
1>IvanHoe\set_position.c(21) : warning C6385: Invalid data: accessing 'PIECE_CHAR', the readable size is '32' bytes, but '1001' bytes might be read: Lines: 6, 7, 8, 10, 12, 14, 15, 12, 14, 15, 12, 14, 18, 19, 20, 21
1>IvanHoe\set_position.c(176) : warning C6031: Return value ignored: 'sscanf'
1>IvanHoe\set_position.c(181) : warning C6031: Return value ignored: 'sscanf'
1>IvanHoe\set_position.c(189) : warning C6031: Return value ignored: 'sscanf'
1>IvanHoe\set_position.c(226) : warning C6031: Return value ignored: 'sscanf'
1>IvanHoe\set_position.c(261) : warning C6031: Return value ignored: 'sscanf'
1>IvanHoe\set_position.c(264) : warning C6031: Return value ignored: 'sscanf'
1>IvanHoe\set_position.c(251) : warning C6385: Invalid data: accessing 'POSITION->sq', the readable size is '64' bytes, but '71' bytes might be read: Lines: 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 184, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 225, 226, 227, 228, 232, 233, 235, 237, 239, 251
1>IvanHoe\set_position.c(296) : warning C6031: Return value ignored: 'sscanf'
1>IvanHoe\set_position.c(297) : warning C6054: String 'T' might not be zero-terminated: Lines: 276, 277, 278, 279, 281, 283, 284, 286, 287, 294, 296, 297
1>IvanHoe\set_position.c(338) : warning C6031: Return value ignored: 'sscanf'
1>IvanHoe\set_position.c(352) : warning C6031: Return value ignored: 'sscanf'
1>IvanHoe\set_position.c(339) : warning C6054: String 'i' might not be zero-terminated: Lines: 332, 333, 334, 335, 336, 337, 338, 339
1>IvanHoe\set_position.c(336) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'strcpy': Lines: 332, 333, 334, 335, 336
1>IvanHoe\set_position.c(337) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'strstr': Lines: 332, 333, 334, 335, 336, 337
1>IvanHoe\smp.c(189) : warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value
1>IvanHoe\un_make_move.c(96) : warning C6385: Invalid data: accessing 'POSITION->bitboard', the readable size is '128' bytes, but '8008' bytes might be read: Lines: 66, 67, 70, 71, 72, 73, 74, 75, 80, 81, 82, 84, 85, 86, 87, 88, 89, 90, 91, 92, 94, 95, 96
1>IvanHoe\un_make_move.c(150) : warning C6385: Invalid data: accessing 'POSITION->bitboard', the readable size is '128' bytes, but '8008' bytes might be read: Lines: 120, 121, 124, 125, 126, 127, 128, 129, 134, 135, 136, 138, 139, 140, 141, 142, 143, 144, 145, 146, 148, 149, 150
1>IvanHoe\utility.c(85) : warning C6385: Invalid data: accessing 'ZOBRIST', the readable size is '8192' bytes, but '512008' bytes might be read: Lines: 72, 73, 74, 75, 76, 75, 76, 75, 76, 75, 77, 78, 79, 80, 82, 84, 85
1>IvanHoe\utility.c(88) : warning C6385: Invalid data: accessing 'MATERIAL_VALUE', the readable size is '64' bytes, but '4004' bytes might be read: Lines: 72, 73, 74, 75, 76, 75, 76, 75, 76, 75, 77, 78, 79, 80, 82, 84, 85, 86, 88
1>IvanHoe\utility.c(89) : warning C6385: Invalid data: accessing 'POSITION->bitboard', the readable size is '128' bytes, but '8008' bytes might be read: Lines: 72, 73, 74, 75, 76, 75, 76, 75, 76, 75, 77, 78, 79, 80, 82, 84, 85, 86, 88, 89
1>Compiling...
1>root_multipv.c
1>root_analysis.c
1>RobboTripleVerify.c
1>RobboTripleValue.c
1>..\RobboTripleValue.c(160) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\RobboTripleValue.c(118) : warning C4101: 'i' : unreferenced local variable
1>..\RobboTripleValue.c(176) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\RobboTripleValue.c(226) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\RobboTripleValue.c(495) : warning C4005: 'IN_CHECK' : macro redefinition
1> IvanHoe\RobboTotalBase.h(158) : see previous definition of 'IN_CHECK'
1>..\RobboTripleValue.c(498) : warning C4005: 'IS_ILLEGAL' : macro redefinition
1> IvanHoe\RobboTotalBase.h(161) : see previous definition of 'IS_ILLEGAL'
1>RobboTripleHuffmann.c
1>..\RobboTripleHuffmann.c(33) : warning C4018: '<' : signed/unsigned mismatch
1>RobboTripleDisk.c
1>..\RobboTripleDisk.c(25) : warning C4090: 'function' : different 'volatile' qualifiers
1>..\RobboTripleDisk.c(37) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\RobboTripleDisk.c(38) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\RobboTripleDisk.c(39) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\RobboTripleDisk.c(40) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\RobboTripleDisk.c(41) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\RobboTripleDisk.c(42) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\RobboTripleDisk.c(43) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\RobboTripleDisk.c(44) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\RobboTripleDisk.c(71) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\RobboTripleDisk.c(144) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'long', possible loss of data
1>RobboTriple_iniz.c
1>..\RobboTriple_iniz.c(391) : warning C4101: 'v' : unreferenced local variable
1>..\RobboTriple_iniz.c(391) : warning C4101: 'n' : unreferenced local variable
1>..\RobboTriple_iniz.c(391) : warning C4101: 'num_indici' : unreferenced local variable
1>..\RobboTriple_iniz.c(391) : warning C4101: 'e' : unreferenced local variable
1>RobboTriple.c
1>..\RobboTriple.c(67) : warning C4018: '<' : signed/unsigned mismatch
1>..\RobboTriple.c(223) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>Robbo_utilita.c
1>..\Robbo_utilita.c(40) : warning C4005: 'LANCpez' : macro redefinition
1> IvanHoe\RobboTotalBase.h(197) : see previous definition of 'LANCpez'
1>..\Robbo_utilita.c(41) : warning C4005: 'LANCnor' : macro redefinition
1> IvanHoe\RobboTotalBase.h(198) : see previous definition of 'LANCnor'
1>Robbo_suffix.c
1>Robbo_iniz_IO.c
1>..\Robbo_iniz_IO.c(33) : warning C4018: '<' : signed/unsigned mismatch
1>..\Robbo_iniz_IO.c(44) : warning C4018: '<' : signed/unsigned mismatch
1>..\Robbo_iniz_IO.c(48) : warning C4018: '<' : signed/unsigned mismatch
1>..\Robbo_iniz_IO.c(118) : warning C4018: '<' : signed/unsigned mismatch
1>..\Robbo_iniz_IO.c(396) : warning C4101: 'i' : unreferenced local variable
1>..\Robbo_iniz_IO.c(421) : warning C4101: 'j' : unreferenced local variable
1>Robbo_iniz.c
1>Robbo_glue.c
1>..\Robbo_glue.c(138) : warning C4005: 'IS_ILLEGAL' : macro redefinition
1> IvanHoe\RobboTotalBase.h(161) : see previous definition of 'IS_ILLEGAL'
1>Robbo_decomp.c
1>..\Robbo_decomp.c(28) : warning C4244: '=' : conversion from 'unsigned __int64' to 'unsigned int', possible loss of data
1>..\Robbo_decomp.c(40) : warning C4018: '<' : signed/unsigned mismatch
1>..\Robbo_decomp.c(50) : warning C4244: '=' : conversion from 'unsigned __int64' to 'unsigned int', possible loss of data
1>..\Robbo_decomp.c(61) : warning C4018: '<' : signed/unsigned mismatch
1>..\Robbo_decomp.c(66) : warning C4244: '=' : conversion from 'unsigned __int64' to 'unsigned int', possible loss of data
1>..\Robbo_decomp.c(198) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\Robbo_decomp.c(200) : warning C4244: 'return' : conversion from 'unsigned __int64' to 'unsigned int', possible loss of data
1>Robbo_conto.c
1>Robbo_cache.c
1>..\Robbo_cache.c(19) : warning C4090: 'function' : different 'volatile' qualifiers
1>..\Robbo_cache.c(28) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Robbo_cache.c(29) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Robbo_cache.c(30) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Robbo_cache.c(31) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Robbo_cache.c(32) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Robbo_cache.c(33) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Robbo_cache.c(34) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Robbo_cache.c(35) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\Robbo_cache.c(58) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\Robbo_cache.c(83) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\Robbo_cache.c(144) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'long', possible loss of data
1>qsearch_pv.c
1>qsearch.c
1>pv_node.c
1>IvanHoe\pv_node.c(186) : warning C4018: '<' : signed/unsigned mismatch
1>IvanHoe\pv_node.c(365) : warning C4102: 'MOVE_LESS' : unreferenced label
1>IvanHoe\pv_node.c(186) : warning C4018: '<' : signed/unsigned mismatch
1>IvanHoe\pv_node.c(365) : warning C4102: 'MOVE_LESS' : unreferenced label
1>perft.c
1>Running Code Analysis for C/C++...
1>IvanHoe\robbo_cache.c(16) : warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value
1>IvanHoe\robbo_cache.c(38) : warning C6011: Dereferencing NULL pointer 'TotalBaseCache[j]': Lines: 14, 15, 16, 17, 18, 19, 17, 18, 19, 17, 18, 19, 17, 20, 21, 23, 26, 20, 21, 23, 26, 20, 21, 23, 26, 20, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38
1>IvanHoe\robbo_cache.c(41) : warning C6011: Dereferencing NULL pointer 'CACHE_INFO[j]': Lines: 14, 15, 16, 17, 18, 19, 17, 18, 19, 17, 18, 19, 17, 20, 21, 23, 26, 20, 21, 23, 26, 20, 21, 23, 26, 20, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 37, 38, 37, 36, 37, 38, 37, 36, 37, 36, 39, 40, 41
1>IvanHoe\robbo_cache.c(56) : warning C6011: Dereferencing NULL pointer 'TotalBaseCache': Lines: 49, 50, 51, 52, 53, 55, 56
1>IvanHoe\robbo_conto.c(53) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(55) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(57) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(59) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(72) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(80) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(88) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(96) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(53) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(55) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(57) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(59) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(72) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(80) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(88) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_conto.c(96) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\robbo_decomp.c(78) : warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value
1>IvanHoe\robbo_decomp.c(84) : warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value
1>IvanHoe\robbo_decomp.c(151) : warning C6011: Dereferencing NULL pointer 'L': Lines: 136, 137, 138, 139, 140, 141, 142, 141, 142, 141, 142, 141, 143, 144, 143, 145, 146, 145, 146, 145, 146, 145, 148, 149, 148, 149, 148, 149, 148, 150, 151
1>IvanHoe\robbo_decomp.c(169) : warning C6297: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value
1>IvanHoe\robbo_glue.c(19) : warning C6011: Dereferencing NULL pointer 'TABLE_TOTAL_BASES+i': Lines: 8, 9, 10, 11, 12, 13, 14, 15, 16, 15, 16, 15, 16, 15, 14, 15, 14, 15, 14, 13, 14, 13, 14, 13, 12, 13, 12, 13, 12, 17, 18, 19
1>IvanHoe\robbo_iniz_io.c(12) : warning C6204: Possible buffer overrun in call to 'strcpy': use of unchecked parameter 'AB'
1>IvanHoe\robbo_iniz_io.c(70) : warning C6385: Invalid data: accessing 'Sort', the readable size is '32' bytes, but '3909' bytes might be read: Lines: 9, 10, 11, 12, 13, 14, 15, 14, 15, 16, 14, 15, 16, 14, 17, 18, 17, 18, 19, 20, 19, 20, 19, 20, 19, 21, 22, 21, 22, 21, 22, 21, 24, 25, 24, 25, 26, 27, 26, 27, 26, 27, 26, 24, 25, 26, 24, 28, 29, 30, 28, 29, 30, 28, 29, 30, 28, 31, 32, 33, 32, 33, 32, 33, 32, 36, 37, 36, 37, 36, 37, 36, 42, 43, 44, 43, 47, 51, 58, 60, 62, 64, 66, 70
1>IvanHoe\robbo_iniz_io.c(135) : warning C6385: Invalid data: accessing 'Sort', the readable size is '32' bytes, but '2396' bytes might be read: Lines: 101, 102, 103, 105, 106, 107, 106, 107, 106, 107, 106, 109, 110, 109, 110, 109, 110, 109, 113, 114, 113, 114, 113, 114, 113, 116, 117, 118, 117, 118, 117, 118, 117, 121, 122, 121, 122, 121, 122, 121, 127, 129, 131, 133, 135
1>IvanHoe\robbo_iniz_io.c(397) : warning C6204: Possible buffer overrun in call to 'strcpy': use of unchecked parameter 'NOME'
1>IvanHoe\robbo_iniz_io.c(425) : warning C6204: Possible buffer overrun in call to 'strcpy': use of unchecked parameter 'nome'
1>IvanHoe\robbo_iniz_io.c(526) : warning C6385: Invalid data: accessing 'tb->m', the readable size is '32' bytes, but '-8' bytes might be read: Lines: 421, 422, 423, 424, 425, 426, 428, 430, 431, 433, 435, 437, 438, 439, 440, 441, 442, 444, 445, 446, 447, 496, 497, 499, 513, 538, 442, 444, 445, 446, 447, 449, 450, 499, 513, 515, 517, 520, 521, 530, 442, 444, 445, 446, 447, 482, 483, 484, 499, 510, 511, 513, 515, 516, 521, 523, 524, 525, 526
1>IvanHoe\robbo_iniz_io.c(527) : warning C6386: Buffer overrun: accessing 'tb->efgh_shift', the writable size is '4' bytes, but '-1' bytes might be written: Lines: 421, 422, 423, 424, 425, 426, 428, 430, 431, 433, 435, 437, 438, 439, 440, 441, 442, 444, 445, 446, 447, 496, 497, 499, 513, 538, 442, 444, 445, 446, 447, 449, 450, 499, 513, 515, 517, 520, 521, 530, 442, 444, 445, 446, 447, 482, 483, 484, 499, 510, 511, 513, 515, 516, 521, 523, 524, 525, 526, 527
1>IvanHoe\robbo_iniz_io.c(528) : warning C6385: Invalid data: accessing 'tb->efgh_file', the readable size is '4' bytes, but '-1' bytes might be read: Lines: 421, 422, 423, 424, 425, 426, 428, 430, 431, 433, 435, 437, 438, 439, 440, 441, 442, 444, 445, 446, 447, 496, 497, 499, 513, 538, 442, 444, 445, 446, 447, 449, 450, 499, 513, 515, 517, 520, 521, 530, 442, 444, 445, 446, 447, 482, 483, 484, 499, 510, 511, 513, 515, 516, 521, 523, 524, 525, 526, 527, 528
1>IvanHoe\robbo_iniz_io.c(674) : warning C6204: Possible buffer overrun in call to 'strcpy': use of unchecked parameter 'nome'
1>IvanHoe\robbo_iniz_io.c(734) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'fread': Lines: 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 677, 678, 677, 678, 677, 678, 677, 680, 681, 680, 681, 680, 681, 680, 684, 685, 686, 688, 689, 690, 703, 704, 705, 710, 712, 718, 719, 720, 721, 722, 724, 725, 726, 725, 726, 725, 726, 725, 727, 728, 729, 730, 731, 732, 731, 732, 731, 732, 731, 733, 734
1>IvanHoe\robbo_iniz_io.c(741) : warning C6011: Dereferencing NULL pointer 'tb->indici': Lines: 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 677, 678, 677, 678, 677, 678, 677, 680, 681, 680, 681, 680, 681, 680, 684, 685, 686, 688, 689, 690, 703, 704, 705, 710, 712, 718, 719, 720, 721, 722, 724, 725, 726, 725, 726, 725, 726, 725, 727, 728, 729, 730, 731, 732, 731, 732, 731, 732, 731, 733, 734, 735, 736, 738, 739, 738, 739, 738, 739, 738, 740, 741
1>IvanHoe\robbo_iniz_io.c(843) : warning C6001: Using uninitialized memory 'n': Lines: 789, 790, 791, 792, 793, 794, 795, 796, 797, 799, 804, 805, 806, 814, 815, 816, 832, 833, 835, 836, 837, 838, 839, 841, 842, 843
1>IvanHoe\robbo_iniz_io.c(851) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'fread': Lines: 789, 790, 791, 792, 793, 794, 795, 796, 797, 799, 804, 805, 806, 814, 815, 816, 832, 833, 835, 836, 837, 838, 839, 841, 842, 843, 842, 843, 842, 843, 842, 844, 845, 846, 847, 848, 849, 848, 849, 848, 849, 848, 850, 851
1>IvanHoe\robbo_suffix.c(183) : warning C6011: Dereferencing NULL pointer 'AUX': Lines: 178, 179, 180, 181, 183
1>IvanHoe\robbo_utilita.c(122) : warning C6385: Invalid data: accessing 'TotalBase->efgh', the readable size is '8' bytes, but '-6978' bytes might be read: Lines: 46, 47, 48, 49, 51, 53, 55, 56, 65, 66, 68, 70, 72, 73, 74, 70, 72, 73, 74, 70, 72, 73, 74, 70, 76, 78, 79, 81, 82, 79, 81, 82, 79, 81, 82, 79, 85, 86, 87, 100, 102, 103, 105, 107, 103, 105, 107, 103, 105, 107, 103, 110, 111, 119, 121, 122
1>IvanHoe\robbo_utilita.c(340) : warning C6385: Invalid data: accessing 'SqSet', the readable size is '512' bytes, but '7952' bytes might be read: Lines: 327, 328, 329, 331, 333, 334, 336, 338, 340
1>IvanHoe\robbotriple.c(40) : warning C6204: Possible buffer overrun in call to 'strcpy': use of unchecked parameter 'NOME'
1>IvanHoe\robbotriple.c(246) : warning C6204: Possible buffer overrun in call to 'strcpy': use of unchecked parameter 'iNOME'
1>IvanHoe\robbotriple.c(249) : warning C6202: Buffer overrun for 'rtb->nome', which is possibly stack allocated, in call to 'strcpy': length '256' exceeds buffer size '8'
1>IvanHoe\robbotriple_iniz.c(73) : warning C6011: Dereferencing NULL pointer 'rtb->huffman_table': Lines: 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 40, 41, 44, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 60, 61, 60, 62, 64, 66, 67, 68, 69, 70, 71, 72, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 60, 62, 64, 66, 67, 68, 69, 70, 71, 72, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 59, 58, 59, 58, 60, 62, 63, 62, 63, 62, 64, 66, 67, 68, 69, 70, 71, 72, 73
1>IvanHoe\robbotriple_iniz.c(63) : warning C6011: Dereferencing NULL pointer 'rtb->packet_offset': Lines: 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 40, 41, 44, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 60, 61, 60, 62, 64, 66, 67, 68, 69, 70, 71, 72, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 60, 62, 64, 66, 67, 68, 69, 70, 71, 72, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 59, 58, 59, 58, 60, 62, 63
1>IvanHoe\robbotriple_iniz.c(59) : warning C6011: Dereferencing NULL pointer 'rtb->ind_split': Lines: 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 40, 41, 44, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 60, 61, 60, 62, 64, 66, 67, 68, 69, 70, 71, 72, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 60, 62, 64, 66, 67, 68, 69, 70, 71, 72, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 59
1>IvanHoe\robbotriple_iniz.c(148) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'fclose': Lines: 102, 103, 105, 106, 107, 108, 109, 110, 148
1>IvanHoe\robbotriple_iniz.c(114) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'fseek': Lines: 102, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114
1>IvanHoe\robbotriple_iniz.c(115) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'fgetc': Lines: 102, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115
1>IvanHoe\robbotriple_iniz.c(119) : warning C6387: 'argument 4' might be '0': this does not adhere to the specification for the function 'fread': Lines: 102, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117, 118, 119
1>IvanHoe\robbotriple_iniz.c(139) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'fread': Lines: 102, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 145, 146, 110, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 138, 139
1>IvanHoe\robbotriple_iniz.c(160) : warning C6204: Possible buffer overrun in call to 'strcpy': use of unchecked parameter 'fnin'
1>IvanHoe\robbotriple_iniz.c(180) : warning C6202: Buffer overrun for 'triple->string', which is possibly stack allocated, in call to 'strcpy': length '1022' exceeds buffer size '16'
1>IvanHoe\robbotriple_iniz.c(270) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'fread': Lines: 155, 156, 157, 158, 159, 160, 161, 162, 163, 165, 166, 167, 168, 173, 175, 176, 175, 176, 175, 176, 175, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 189, 190, 191, 189, 190, 191, 189, 192, 193, 192, 193, 192, 193, 192, 194, 196, 197, 194, 196, 197, 194, 196, 197, 194, 199, 210, 211, 210, 211, 210, 211, 210, 212, 214, 215, 216, 217, 220, 228, 229, 230, 231, 230, 231, 230, 231, 230, 232, 234, 235, 236, 235, 236, 235, 236, 235, 237, 239, 240, 241, 240, 241, 240, 242, 244, 245, 244, 245, 244, 246, 247, 248, 249, 250, 252, 253, 254, 255, 262, 264, 265, 266, 267, 268, 269, 270
1>IvanHoe\robbotriple_iniz.c(263) : warning C6011: Dereferencing NULL pointer 'triple->ind': Lines: 155, 156, 157, 158, 159, 160, 161, 162, 163, 165, 166, 167, 168, 173, 175, 176, 175, 176, 175, 176, 175, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 189, 190, 191, 189, 190, 191, 189, 192, 193, 192, 193, 192, 193, 192, 194, 196, 197, 194, 196, 197, 194, 196, 197, 194, 199, 210, 211, 210, 211, 210, 211, 210, 212, 214, 215, 216, 217, 220, 228, 229, 230, 231, 230, 231, 230, 231, 230, 232, 234, 235, 236, 235, 236, 235, 236, 235, 237, 239, 240, 241, 240, 241, 240, 242, 244, 245, 244, 245, 244, 246, 247, 248, 249, 250, 252, 253, 254, 255, 262, 263
1>IvanHoe\robbotriple_iniz.c(461) : warning C6202: Buffer overrun for 'triple->path', which is possibly stack allocated, in call to 'strcpy': length '128' exceeds buffer size '32'
1>IvanHoe\robbotriple_iniz.c(498) : warning C6011: Dereferencing NULL pointer 'triple->packet_offset[h]': Lines: 387, 388, 389, 390, 391, 392, 393, 394, 395, 397, 402, 403, 422, 423, 433, 435, 437, 438, 439, 453, 454, 455, 457, 458, 459, 460, 461, 463, 464, 465, 466, 467, 468, 469, 470, 471, 470, 471, 470, 471, 470, 472, 473, 472, 473, 472, 473, 472, 474, 475, 476, 475, 476, 475, 476, 475, 478, 479, 478, 479, 478, 479, 478, 480, 481, 482, 484, 485, 486, 487, 489, 490, 491, 492, 493, 495, 496, 495, 496, 495, 497, 482, 484, 485, 486, 487, 489, 490, 491, 492, 493, 495, 496, 495, 497, 482, 500, 508, 395, 397, 402, 403, 422, 423, 433, 435, 437, 438, 439, 453, 454, 455, 457, 458, 459, 460, 461, 463, 464, 465, 466, 467, 468, 469, 470, 472, 474, 475, 478, 480, 481, 482, 484, 485, 486, 487, 489, 490, 491, 492, 493, 494, 493, 494, 493, 495, 497, 498
1>IvanHoe\robbotriple_iniz.c(494) : warning C6011: Dereferencing NULL pointer 'triple->ind_split[h]': Lines: 387, 388, 389, 390, 391, 392, 393, 394, 395, 397, 402, 403, 422, 423, 433, 435, 437, 438, 439, 453, 454, 455, 457, 458, 459, 460, 461, 463, 464, 465, 466, 467, 468, 469, 470, 471, 470, 471, 470, 471, 470, 472, 473, 472, 473, 472, 473, 472, 474, 475, 476, 475, 476, 475, 476, 475, 478, 479, 478, 479, 478, 479, 478, 480, 481, 482, 484, 485, 486, 487, 489, 490, 491, 492, 493, 495, 496, 495, 496, 495, 497, 482, 484, 485, 486, 487, 489, 490, 491, 492, 493, 495, 496, 495, 497, 482, 500, 508, 395, 397, 402, 403, 422, 423, 433, 435, 437, 438, 439, 453, 454, 455, 457, 458, 459, 460, 461, 463, 464, 465, 466, 467, 468, 469, 470, 472, 474, 475, 478, 480, 481, 482, 484, 485, 486, 487, 489, 490, 491, 492, 493, 494
1>IvanHoe\robbotripledisk.c(48) : warning C6011: Dereferencing NULL pointer 'TRIPLE_CACHE[j]': Lines: 20, 21, 22, 23, 24, 25, 23, 24, 25, 23, 24, 25, 23, 26, 27, 29, 32, 35, 26, 27, 29, 32, 35, 26, 27, 29, 32, 35, 26, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48
1>IvanHoe\robbotripledisk.c(54) : warning C6011: Dereferencing NULL pointer 'TRIPLE_CACHE_NOTE[j]': Lines: 20, 21, 22, 23, 24, 25, 23, 24, 25, 23, 24, 25, 23, 26, 27, 29, 32, 35, 26, 27, 29, 32, 35, 26, 27, 29, 32, 35, 26, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 46, 48, 49, 50, 46, 45, 46, 48, 49, 50, 46, 45, 46, 45, 52, 53, 54
1>IvanHoe\robbotripledisk.c(144) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'fseek': Lines: 125, 126, 127, 128, 130, 131, 132, 133, 134, 135, 136, 137, 141, 142, 143, 144
1>IvanHoe\robbotripledisk.c(145) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'fgetc': Lines: 125, 126, 127, 128, 130, 131, 132, 133, 134, 135, 136, 137, 141, 142, 143, 144, 145
1>IvanHoe\robbotripledisk.c(149) : warning C6387: 'argument 4' might be '0': this does not adhere to the specification for the function 'fread': Lines: 125, 126, 127, 128, 130, 131, 132, 133, 134, 135, 136, 137, 141, 142, 143, 144, 145, 146, 147, 148, 149
1>IvanHoe\robbotriplevalue.c(345) : warning C6385: Invalid data: accessing 'rtb->efgh', the readable size is '8' bytes, but '-7854' bytes might be read: Lines: 276, 277, 278, 279, 281, 282, 291, 292, 294, 295, 296, 298, 300, 301, 302, 298, 300, 301, 302, 298, 300, 301, 302, 298, 304, 306, 307, 309, 310, 307, 309, 310, 307, 309, 310, 307, 313, 314, 315, 326, 328, 329, 328, 329, 328, 329, 328, 330, 331, 330, 331, 330, 331, 330, 334, 342, 344, 345
1>IvanHoe\root_multipv.c(245) : warning C6385: Invalid data: accessing 'MPV', the readable size is '8192' bytes, but '-32' bytes might be read: Lines: 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 68, 69, 70, 71, 73, 74, 71, 73, 74, 71, 76, 77, 78, 80, 81, 82, 88, 89, 90, 92, 93, 94, 100, 101, 104, 107, 108, 109, 110, 111, 112, 113, 116, 117, 119, 121, 122, 125, 165, 175, 192, 195, 196, 198, 199, 202, 203, 204, 205, 218, 219, 220, 221, 223, 224, 225, 231, 232, 233, 254, 255, 90, 92, 93, 94, 100, 101, 104, 107, 108, 109, 110, 111, 112, 113, 116, 117, 119, 121, 122, 125, 165, 175, 192, 195, 196, 198, 199, 200, 202, 203, 204, 205, 207, 209, 211, 213, 214, 205, 207, 209, 211, 213, 214, 205, 207, 209, 211, 218, 219, 220, 221, 223, 224, 225, 231, 232, 233, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245
1>IvanHoe\root_multipv.c(245) : warning C6385: Invalid data: accessing 'MPV', the readable size is '8192' bytes, but '-32' bytes might be read: Lines: 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 68, 69, 70, 71, 73, 74, 71, 73, 74, 71, 76, 77, 78, 80, 81, 82, 88, 89, 90, 92, 93, 94, 100, 101, 104, 107, 108, 109, 110, 111, 112, 113, 116, 117, 119, 121, 122, 125, 165, 175, 192, 195, 196, 198, 199, 202, 203, 204, 205, 218, 219, 220, 221, 223, 224, 225, 231, 232, 233, 254, 255, 90, 92, 93, 94, 100, 101, 104, 107, 108, 109, 110, 111, 112, 113, 116, 117, 119, 121, 122, 125, 165, 175, 192, 195, 196, 198, 199, 200, 202, 203, 204, 205, 207, 209, 211, 213, 214, 205, 207, 209, 211, 213, 214, 205, 207, 209, 211, 218, 219, 220, 221, 223, 224, 225, 231, 232, 233, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245
1>Compiling...
1>pawn_eval_explain.c
1>pawn_eval.c
1>ok_move.c
1>next_move.c
1>move_gen.c
1>..\move_gen.c(64) : warning C4018: '<' : signed/unsigned mismatch
1>IvanHoe\move_gen.c(302) : warning C4018: '<' : signed/unsigned mismatch
1>IvanHoe\move_gen.c(302) : warning C4018: '<' : signed/unsigned mismatch
1>MonteCarlo.c
1>..\MonteCarlo.c(19) : warning C4244: '=' : conversion from 'unsigned __int64' to 'int', possible loss of data
1>..\MonteCarlo.c(229) : warning C4047: 'return' : 'DWORD' differs in levels of indirection from 'void *'
1>mobility.c
1>MEM_HANDLER.c
1>..\MEM_HANDLER.c(60) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'SIZE_T', possible loss of data
1>..\MEM_HANDLER.c(69) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>..\MEM_HANDLER.c(75) : warning C4244: 'function' : conversion from 'unsigned __int64' to 'size_t', possible loss of data
1>matval_explain.c
1>material_value.c
1>make_move.c
1>main.c
1>magic_mult.c
1>low_depth.c
1>IvanHoe\null_move.i(20) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
1>IvanHoe\low_depth.c(296) : warning C4018: '<' : signed/unsigned mismatch
1>IvanHoe\low_depth.c(296) : warning C4018: '<' : signed/unsigned mismatch
1>input.c
1>..\input.c(121) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(122) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(124) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(125) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(130) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(131) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(132) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(133) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(145) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(146) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(147) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(148) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(149) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(150) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(151) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(152) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(153) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(154) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(155) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(156) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(157) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(158) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(159) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(163) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(170) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int)'
1>..\input.c(170) : warning C4133: 'initializing' : incompatible types - from 'void (__cdecl *)()' to 'int (__cdecl *)(int)'
1>..\input.c(345) : warning C4013: 'QUIT_PV' undefined; assuming extern returning int
1>..\input.c(346) : warning C4013: 'QUIT_LARGE_PAWNS' undefined; assuming extern returning int
1>..\input.c(347) : warning C4013: 'DETACH_ALL_MEMORY' undefined; assuming extern returning int
1>..\input.c(348) : warning C4013: 'QUIT_EVAL_HASH' undefined; assuming extern returning int
1>..\input.c(349) : warning C4013: 'DeleteSlab' undefined; assuming extern returning int
1>..\input.c(433) : warning C4013: 'main_line' undefined; assuming extern returning int
1>..\input.c(498) : warning C4101: 'i' : unreferenced local variable
1>exclude_node.c
1>IvanHoe\null_move.i(20) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
1>IvanHoe\exclude_node.c(360) : warning C4018: '<' : signed/unsigned mismatch
1>IvanHoe\exclude_node.c(360) : warning C4018: '<' : signed/unsigned mismatch
1>evaluation.c
1>..\evaluation.c(1411) : warning C4005: 'WHITE_MINOR_ONLY' : macro redefinition
1> ..\evaluation.c(462) : see previous definition of 'WHITE_MINOR_ONLY'
1>..\evaluation.c(1413) : warning C4005: 'BLACK_MINOR_ONLY' : macro redefinition
1> ..\evaluation.c(463) : see previous definition of 'BLACK_MINOR_ONLY'
1>eval_explain.c
1>cut_node.c
1>IvanHoe\null_move.i(20) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
1>IvanHoe\cut_node.c(430) : warning C4018: '<' : signed/unsigned mismatch
1>IvanHoe\cut_node.c(430) : warning C4018: '<' : signed/unsigned mismatch
1>control.c
1>..\control.c(72) : warning C4018: '<' : signed/unsigned mismatch
1>..\control.c(102) : warning C4244: '=' : conversion from 'unsigned __int64' to 'clock_t', possible loss of data
1>..\control.c(293) : warning C4244: '=' : conversion from 'float' to '__int64', possible loss of data
1>..\control.c(297) : warning C4244: '=' : conversion from 'float' to '__int64', possible loss of data
1>..\control.c(305) : warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data
1>..\control.c(322) : warning C4244: '*=' : conversion from 'double' to '__int64', possible loss of data
1>..\control.c(535) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
1>..\control.c(536) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
1>..\control.c(537) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
1>..\control.c(550) : warning C4244: 'function' : conversion from '__int64' to 'int', possible loss of data
1>..\control.c(552) : warning C4244: 'function' : conversion from '__int64' to 'int', possible loss of data
1>Running Code Analysis for C/C++...
1>IvanHoe\control.c(281) : warning C6244: Local declaration of 'INCREMENT' hides previous declaration at line '7' of 'IvanHoe\control.c'
1>IvanHoe\control.c(344) : warning C6244: Local declaration of 'INCREMENT' hides previous declaration at line '7' of 'IvanHoe\control.c'
1>IvanHoe\evaluation.c(262) : warning C6385: Invalid data: accessing 'InFrontB', the readable size is '64' bytes, but '80' bytes might be read: Lines: 215, 216, 217, 218, 220, 221, 222, 223, 224, 225, 241, 242, 243, 245, 246, 247, 248, 256, 243, 245, 246, 247, 248, 256, 243, 245, 246, 247, 248, 256, 243, 259, 260, 262
1>IvanHoe\input.c(511) : warning C6031: Return value ignored: '_read'
1>IvanHoe\input.c(513) : warning C6031: Return value ignored: '_read'
1>IvanHoe\make_move.c(166) : warning C6385: Invalid data: accessing 'POSITION->bitboard', the readable size is '128' bytes, but '8008' bytes might be read: Lines: 114, 115, 118, 119, 121, 122, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 154, 155, 156, 157, 159, 160, 162, 164, 165, 166
1>IvanHoe\make_move.c(167) : warning C6385: Invalid data: accessing 'MATERIAL_VALUE', the readable size is '64' bytes, but '4004' bytes might be read: Lines: 114, 115, 118, 119, 121, 122, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 154, 155, 156, 157, 159, 160, 162, 164, 165, 166, 167
1>IvanHoe\make_move.c(284) : warning C6385: Invalid data: accessing 'POSITION->bitboard', the readable size is '128' bytes, but '8008' bytes might be read: Lines: 238, 239, 242, 243, 244, 245, 246, 247, 249, 250, 251, 252, 253, 254, 255, 257, 258, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 272, 273, 274, 275, 277, 278, 280, 282, 283, 284
1>IvanHoe\make_move.c(285) : warning C6385: Invalid data: accessing 'MATERIAL_VALUE', the readable size is '64' bytes, but '4004' bytes might be read: Lines: 238, 239, 242, 243, 244, 245, 246, 247, 249, 250, 251, 252, 253, 254, 255, 257, 258, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 272, 273, 274, 275, 277, 278, 280, 282, 283, 284, 285
1>IvanHoe\mobility.c(23) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\mobility.c(32) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\mobility.c(48) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\mobility.c(64) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\mobility.c(89) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\mobility.c(98) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\mobility.c(114) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\mobility.c(130) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\montecarlo.c(189) : warning C6385: Invalid data: accessing 'POSITION->STACK', the readable size is '2048' bytes, but '34359738336' bytes might be read: Lines: 159, 160, 161, 163, 164, 165, 167, 168, 171, 173, 175, 177, 178, 179, 182, 183, 184, 185, 186, 187, 188, 189
1>IvanHoe\montecarlo.c(288) : warning C6387: 'argument 1' might be '0': this does not adhere to the specification for the function 'GetExitCodeThread': Lines: 239, 240, 241, 242, 243, 245, 246, 247, 248, 250, 263, 264, 266, 267, 268, 269, 270, 272, 273, 274, 270, 272, 273, 274, 270, 277, 278, 279, 280, 279, 280, 279, 281, 283, 284, 286, 287, 288
1>IvanHoe\montecarlo.c(297) : warning C6262: Function uses '168500' bytes of stack: exceeds /analyze:stacksize'16384'. Consider moving some data to heap
1>IvanHoe\move_gen.c(224) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(230) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(236) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(242) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(192) : warning C6385: Invalid data: accessing 'SqSet', the readable size is '512' bytes, but '8008' bytes might be read: Lines: 130, 131, 132, 133, 134, 135, 136, 138, 139, 149, 150, 151, 152, 158, 160, 161, 162, 171, 174, 176, 177, 178, 187, 189, 190, 192
1>IvanHoe\move_gen.c(259) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(268) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(274) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(280) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(286) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(292) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(338) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(344) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(351) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(358) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(370) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(313) : warning C6385: Invalid data: accessing 'SqSet', the readable size is '512' bytes, but '8008' bytes might be read: Lines: 308, 309, 310, 311, 313
1>IvanHoe\move_gen.c(417) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(427) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(433) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(439) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(448) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(454) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(484) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(565) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(582) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(599) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(615) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(224) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(230) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(236) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(242) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(192) : warning C6385: Invalid data: accessing 'SqSet', the readable size is '512' bytes, but '8008' bytes might be read: Lines: 130, 131, 132, 133, 134, 135, 136, 138, 139, 149, 150, 151, 152, 158, 160, 161, 162, 171, 174, 176, 177, 178, 187, 189, 190, 192
1>IvanHoe\move_gen.c(259) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(268) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(274) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(280) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(286) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(292) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(338) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(344) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(351) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(358) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(370) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(313) : warning C6385: Invalid data: accessing 'SqSet', the readable size is '512' bytes, but '8008' bytes might be read: Lines: 308, 309, 310, 311, 313
1>IvanHoe\move_gen.c(417) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(427) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(433) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(439) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(448) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(454) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(484) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(565) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(582) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(599) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>IvanHoe\move_gen.c(615) : warning C6295: Ill-defined for-loop: 'unsigned __int64' values are always of range '0' to '18446744073709551615'. Loop executes infinitely
1>Compiling...
1>benchmark.c
1>arrays.c
1>..\arrays.c(658) : warning C4013: 'magic_mult_init' undefined; assuming extern returning int
1>..\arrays.c(110) : warning C4101: 'w' : unreferenced local variable
1>..\arrays.c(111) : warning C4101: 's' : unreferenced local variable
1>..\arrays.c(110) : warning C4101: 'u' : unreferenced local variable
1>..\arrays.c(111) : warning C4101: 'b' : unreferenced local variable
1>..\arrays.c(110) : warning C4101: 'l' : unreferenced local variable
1>all_node.c
1>IvanHoe\null_move.i(20) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
1>IvanHoe\all_node.c(360) : warning C4018: '<' : signed/unsigned mismatch
1>IvanHoe\all_node.c(360) : warning C4018: '<' : signed/unsigned mismatch
1>Running Code Analysis for C/C++...
1>IvanHoe\benchmark.c(34) : warning C6204: Possible buffer overrun in call to 'strcpy': use of unchecked parameter 'GoString'
1>Linking...
1>warning C4744: 'MONTE_CARLO_CURTAIL' has different type in 'IvanHoe\TopNodeMonteCarlo.c' and 'IvanHoe\MonteCarlo.c': 'int' and 'unsigned char'
1>Generating code
1>Finished generating code
1>Embedding manifest...
1>Running Code Analysis...
1>Build log was saved at "file://IvanHoe\IvanHoe999949j\Release\BuildLog.htm"
1>IvanHoe999949j - 0 error(s), 319 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

Most of these are not errors but a few do fail. Credit to Dann Corbit for pointing it out.
Image
PAWN : Knight >> Bishop >> Rook >>Queen

User avatar
kingliveson
Posts: 1388
Joined: Thu Jun 10, 2010 1:22 am
Real Name: Franklin Titus
Location: 28°32'1"N 81°22'33"W

Re: Memory Overwrites (Code Analysis)

Post by kingliveson » Tue Dec 07, 2010 7:52 am

Probably a mis-use of 'assert' as there really is no bug on line 166. I believe most 'Invalid data,' if not all are false positives. Am sure Dann reads this forum -- if he has more details and can give specifics, his input will be much appreciated.
PAWN : Knight >> Bishop >> Rook >>Queen

Post Reply