__cstring section contain filenames that are generated by #file (in Swift) or __FILE__ (C/C++/ObjC)
In particular they appear when using fatalError in Swift.
They are stored in binary near class names, so they should be deleted to not give original class name this way.
It is hard to detect them, so patten (prefix) to recognize them must be given as parameter.
__cstring
section contain filenames that are generated by#file
(in Swift) or__FILE__
(C/C++/ObjC) In particular they appear when usingfatalError
in Swift. They are stored in binary near class names, so they should be deleted to not give original class name this way.It is hard to detect them, so patten (prefix) to recognize them must be given as parameter.