LL063
Deprecated PChar procedure
Object Pascal — Delphi & Free Pascal
Warning
Delphi
Legacy PChar functions are error-prone and replaced by modern string operations
legacy PChar functions are error-prone and replaced by modern string operations.
Why this severity
legacy PChar functions are error-prone and replaced by modern string operations.
Known false positives
interop code that must pass PChar to external C APIs.
Remediation example
S := string(PCharValue); // instead of: S := StrPas(PCharValue);