在%ctor里怎样获取当前attach的进程名呀?

在filter里我设置了多个程序,我想在%ctor里实现不同的程序%init不同的group,可是如何来判断当前是在哪个进程里面呀?
已找到解决方法:[NSBundle mainBundle] bundleIdentifier]