diff options
Diffstat (limited to 'docs/checks/README-global-const-char-pointer.md')
-rw-r--r-- | docs/checks/README-global-const-char-pointer.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/checks/README-global-const-char-pointer.md b/docs/checks/README-global-const-char-pointer.md new file mode 100644 index 00000000..42cfa996 --- /dev/null +++ b/docs/checks/README-global-const-char-pointer.md @@ -0,0 +1,4 @@ +# global-const-char-pointer + +Finds where you're using `const char *foo` instead of `const char *const foo` or `const char []foo`. +The former case adds a pointer in .data, pointing to .rodata. The later cases only use .rodata. |