Catalysis of the hydrolysis of (1,6)-alpha-D-glucosidic linkages in pullulan (a linear polymer of alpha-(1,6)-linked maltotriose units) and in amylopectin and glycogen, and the a- and b-limit dextrins of amylopectin and glycogen.