Global description of the solutions of a large class of non-integrable Hamiltonians