The report documented dozens of weapons used by Israel and Hamas during the three-week offensive , concluding that both groups had carried out attacks on civilians constituting war crimes punishable by international law .