1 package jp.sourceforge.stigmata.birthmarks.wsp;
7 import jp.sourceforge.stigmata.BirthmarkComparator;
8 import jp.sourceforge.stigmata.BirthmarkExtractor;
9 import jp.sourceforge.stigmata.birthmarks.AbstractBirthmarkService;
12 * Weighted Stack Pattern based birthmark.
14 * this birthmark is proposed by LIM et al. in following papers.
16 * <li>Hyun-il Lim, Heewan Park, Seokwoo Choi, Taisook Han, ``Detecting Theft
17 * of Java Applications via a Static Birthmark Based on Weighted Stack
18 * Patterns,'' IEICE Transactions on Information and Systems, Vol.E91-D No.9
19 * pp.2323-2332, September 2008.</li>
20 * <li>Heewan Park, Hyun-il Lim, Seokwoo Choi and Taisook Han, ``A Static Java
21 * Birthmark Based on Operand Stack Behaviors,'' In Proc. of 2008 International
22 * Conference on Information Security and Assurance, pp.133-136, April 2008.</li>
25 * @author Haruaki Tamada
28 public class StackPatternBasedBirthmarkService extends AbstractBirthmarkService{
29 private BirthmarkComparator comparator = new StackPatternBasedBirthmarkComparator(this);
30 private BirthmarkExtractor extractor = new StackPatternBasedBirthmarkExtractor(this);
33 public String getDefaultDescription(){
34 return "Weighted stack pattern based birthmark";
38 public String getType(){
43 public BirthmarkComparator getComparator(){
48 public BirthmarkExtractor getExtractor(){