Any person subject to this Code who, knowing that an offense punishable by this Code has been committed, receives, comforts, or assists the offender in order to hinder or prevent his apprehension, trial, or punishment shall be punished as a court-martial may direct.
20 ILCS 1807/78