1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-12 03:59:15 +00:00
BadFish/src
Marco Costalba 5bec768d42 Fix a possible crash in excluded search condition
Due to IID we could have a ttMove and not a tte, or,
even if we have a tte they could belong to different
searches so that the depth and type of tte don't
have the same origin of the ttMove.

To fix this we always use tte entry in excluded search
condition and, after an IID, we reprobe the TT table.

No functional change. Apart from possible crash fix.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-11-26 13:58:55 +01:00
..
application.cpp Clean killers handling in movepicker 2009-08-26 15:38:47 +01:00
application.h Remove unused members in Application class 2009-07-26 16:11:20 +01:00
benchmark.cpp Implemented perft 2009-11-01 17:05:00 +01:00
benchmark.h Update copyright year 2009-05-07 14:54:40 +02:00
bitbase.cpp Update copyright year 2009-05-07 14:54:40 +02:00
bitbase.h Update copyright year 2009-05-07 14:54:40 +02:00
bitboard.cpp Logaritmic futility margins 2009-11-23 20:59:24 +01:00
bitboard.h Logaritmic futility margins 2009-11-23 20:59:24 +01:00
bitcount.h Enable POPCNT only through Makefile 2009-11-06 17:50:24 +01:00
book.cpp Simplify move legality check for uncommon cases 2009-09-22 07:07:18 +01:00
book.h Update copyright year 2009-05-07 14:54:40 +02:00
color.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
COPYING Initial import of Glaurung 2.1 2008-09-01 07:59:13 +02:00
depth.h Directly relate HistoryMax to OnePly 2009-05-20 14:43:17 +02:00
direction.cpp Space inflate and cleanup direction.cpp 2009-05-20 12:02:39 +02:00
direction.h Update copyright year 2009-05-07 14:54:40 +02:00
endgame.cpp Rename piece_attacks_from() in attacks_from() 2009-09-20 14:55:28 +01:00
endgame.h Better naming and document some endgame functions 2009-08-14 08:19:55 +01:00
evaluate.cpp Code style triviality 2009-11-22 21:12:33 +01:00
evaluate.h Convert mobility bonus tables to Score 2009-11-07 15:28:02 +01:00
history.cpp Reduce history 4 times instead of 2 when reach the maximum 2009-05-20 09:03:15 +02:00
history.h Directly relate HistoryMax to OnePly 2009-05-20 14:43:17 +02:00
lock.h Use WIN32_LEAN_AND_MEAN in lock.h 2009-09-17 14:18:44 +01:00
main.cpp Implemented perft 2009-11-01 17:05:00 +01:00
Makefile Better big-endian support wording in Makefile 2009-11-06 17:50:38 +01:00
material.cpp Micro-optimize get_material_info() 2009-11-15 09:35:22 +01:00
material.h Move game phase computation to MaterialInfo 2009-11-14 17:57:49 +01:00
mersenne.cpp Warnings termination fest 2008-09-24 00:32:53 +02:00
mersenne.h Update copyright year 2009-05-07 14:54:40 +02:00
misc.cpp Add threat evaluation 2009-10-25 08:21:35 +01:00
misc.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
move.cpp Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
move.h Speed up sorting of non-captures 2009-11-25 17:42:41 +01:00
movegen.cpp Small code-style touches in movegen.cpp 2009-11-06 14:42:48 +01:00
movegen.h Retire MovePicker::discovered_check_candidates() 2009-11-05 07:03:48 +01:00
movepick.cpp Define Score as an enum 2009-11-09 08:43:34 +01:00
movepick.h Retire MovePicker::discovered_check_candidates() 2009-11-05 07:03:48 +01:00
pawns.cpp Convert pawns evaluation to Score 2009-11-14 17:57:50 +01:00
pawns.h Convert pawns evaluation to Score 2009-11-14 17:57:50 +01:00
piece.cpp Update copyright year 2009-05-07 14:54:40 +02:00
piece.h Retire piece_is_slider(PieceType pt) 2009-09-04 08:21:07 +01:00
position.cpp Base work for exclusion search 2009-11-23 21:00:05 +01:00
position.h Document and cleanup new effective-single-reply code 2009-11-23 21:12:49 +01:00
psqtab.h Joona tweaks of piece values 2009-07-02 06:29:14 +01:00
san.cpp Rewrite generate_pawn_moves() and simplify evasions 2009-11-05 07:03:47 +01:00
san.h Display fail high/fail low in search log file. 2009-10-06 12:51:15 +02:00
scale.h Update copyright year 2009-05-07 14:54:40 +02:00
search.cpp Fix a possible crash in excluded search condition 2009-11-26 13:58:55 +01:00
search.h Implemented perft 2009-11-01 17:05:00 +01:00
square.h Update copyright year 2009-05-07 14:54:40 +02:00
thread.h Remove dcCandidates data member from SplitPoint 2009-11-13 10:10:21 +01:00
tt.cpp Fix an off-by-one bug in extract_pv() 2009-10-09 10:04:55 +01:00
tt.h Fix an off-by-one bug in extract_pv() 2009-10-09 10:04:55 +01:00
types.h Fix correct name of int64_t type 2009-11-07 10:08:28 +01:00
uci.cpp Use a more standard perft UCI interface 2009-11-13 10:35:56 +01:00
uci.h Update copyright year 2009-05-07 14:54:40 +02:00
ucioption.cpp Revert "Use std::stable_sort() instead of std::sort()" 2009-10-12 09:36:23 +02:00
ucioption.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
value.cpp Update copyright year 2009-05-07 14:54:40 +02:00
value.h Fix operator/(Score s, int i) 2009-11-09 09:00:24 +01:00