Divyadeep Harbola, it might depend on the type of rock you are handling. For soft rocks like limestone, acid/base might work but for hard ones like shales it is very difficult. Industrially shales are hydro-fracked to increase the porosity. Hence chemicals hardly work with them.
Sangeeta Sankhla Thank you for your answer, but my objective to generate porosity in rocks like basalt, granite,is and other hard rocks (not calcic rock). Another point is I do not want to generate any induced fracture. I just want to know How chemicals mainly acid or base can cause porosity in hard rocks.
In my humble opinion, soaking the rock in acidic or alkaline solution can produce pores in it, because the rock contains some minerals that can be dissolved in acidic or alkaline solution. In addition, I think it might be better to consider heating the rock before soaking.