| 6973 | } |
| 6974 | |
| 6975 | bool COFF::DbgIsStrMutable(const char* str) |
| 6976 | { |
| 6977 | if (IsObjectFile()) |
| 6978 | { |
| 6979 | return GetLinkedModule()->DbgIsStrMutable(str); |
| 6980 | } |
| 6981 | |
| 6982 | if (mCvMappedViewOfFile == NULL) |
| 6983 | return true; |
| 6984 | |
| 6985 | if ((str >= (const char*)mCvMappedViewOfFile) && (str < (const char*)mCvMappedViewOfFile + mCvMappedFileSize)) |
| 6986 | return false; |
| 6987 | return true; |
| 6988 | } |
| 6989 | |
| 6990 | // We don't need this for Beef linkining because of "FORCELINK_", but we DO need it for |
| 6991 | // libraries we linked to, either in the DLL or in the LIB |