If you are interested about the details of PSGen, please refer to our research paper:
@inproceedings {psgen21,
title={Finding the Missing Piece: Permission Specification Analysis for Android NDK},
author={Zhou, Hao and Wang, Haoyu and Wu, Shuohan and Luo, Xiapu and Zhou, Yajin and Chen, Ting and Wang, Ting},
booktitle={2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)},
pages={505--516},
year={2021},
organization={IEEE}
}