Pyramidalis is supplied by
The pyramidalis is a small and triangular muscle, anterior to the rectus abdominis, and contained in the rectus sheath. The muscle is innervated by the ventral poion of T12. Anterior division of the twelfth thoracic nerve (subcostal nerve) communicates with the iliohypogastric nerve of the lumbar plexus and gives a branch to the Pyramidalis. Ref - semantischolar.org
Subcostal nerve
Ilioinguinal nerve
Iliohypogastric nerve
Genitofemoral nerve
Abdomen and pelvis