Probing solid compositions in planetary core formation zones