1## Command ksymaddr ## 2 3`ksymaddr` helps locate a kernel symbol by its name. 4 5The syntax is straight forward: 6 7``` 8ksymaddr <PATTERN> 9``` 10 11For example, 12 13``` 14gef➤ ksymaddr commit_creds 15[+] Found matching symbol for 'commit_creds' at 0xffffffff8f495740 (type=T) 16[*] Found partial match for 'commit_creds' at 0xffffffff8f495740 (type=T): commit_creds 17[*] Found partial match for 'commit_creds' at 0xffffffff8fc71ee0 (type=R): __ksymtab_commit_creds 18[*] Found partial match for 'commit_creds' at 0xffffffff8fc8d008 (type=r): __kcrctab_commit_creds 19[*] Found partial match for 'commit_creds' at 0xffffffff8fc9bfcd (type=r): __kstrtab_commit_creds 20``` 21 22Note that the debugging process needs to have the correct permissions for this 23command to show kernel addresses. For more information see 24also [this stackoverflow post](https://stackoverflow.com/a/55592796).