diff options
author | jackpoz <giacomopoz@gmail.com> | 2019-04-27 18:39:06 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2019-04-27 20:11:48 +0200 |
commit | 71d15ea25be3e86646faaa3266617a0b8177972f (patch) | |
tree | 3f002c168984609eae62c0287b535984ec1fff31 /sql/base | |
parent | 0d1ff7446dce7b0641f49ac55a008669838612cd (diff) |
Scripts/Commands: Add .debug asan commands
Add ".debug asan memoryleak" and ".debug asan outofbounds" commands to trigger Address Sanitizer warnings at runtime (or other dynamic analysis tools)
Diffstat (limited to 'sql/base')
-rw-r--r-- | sql/base/auth_database.sql | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index 747020155cb..53fbc922fd7 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -1646,7 +1646,8 @@ INSERT INTO `rbac_permissions` VALUES (870,'Command: debug threatinfo'), (871,'Command: debug instancespawn'), (872,'Command: server debug'), -(873,'Command: reload creature_movement_override'); +(873,'Command: reload creature_movement_override'), +(874,'Command: debug asan'); /*!40000 ALTER TABLE `rbac_permissions` ENABLE KEYS */; UNLOCK TABLES; @@ -1777,7 +1778,8 @@ INSERT INTO `updates` VALUES ('2018_09_17_00_auth.sql','4DB671F0A4FA1A93AF28FB6426AF13DE72C7DA3D','ARCHIVED','2018-09-17 00:00:00',0), ('2018_12_30_00_auth.sql','680F4F9194FC37592041C2DB5B2B7006B14E836D','ARCHIVED','2018-12-30 00:00:00',0), ('2019_03_19_00_auth.sql','03BA8CFC60ACD5B874840A3E50F11CD2643730A0','ARCHIVED','2019-03-19 07:17:45',5), -('2019_04_15_00_auth.sql','EC67389946A24BFAA226B9DFCFEDB3BA095B4C42','ARCHIVED','2019-04-15 06:16:09',5); +('2019_04_15_00_auth.sql','EC67389946A24BFAA226B9DFCFEDB3BA095B4C42','ARCHIVED','2019-04-15 06:16:09',5), +('2019_04_27_00_auth.sql','84B1EB9CC9B09BAF55E6295D202EC57D99B1B60E','ARCHIVED','2019-04-27 18:07:18',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; |