forked from rohanrhu/gdb-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
153 lines (152 loc) · 4.66 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# -*- coding: utf-8 -*-
#
# gdb-frontend is a easy, flexible and extensionable gui debugger
#
# https://github.com/rohanrhu/gdb-frontend
# https://oguzhaneroglu.com/projects/gdb-frontend/
#
# Licensed under GNU/GPLv3
# Copyright (C) 2019, Oğuzhan Eroğlu (https://oguzhaneroglu.com/) <rohanrhu2@gmail.com>
urls = {
"main": {
"url": "/",
"match": "^/$",
"module": "url_modules.main.main"
},
"api-state": {
"url": "/api/state",
"match": "^/api/state$",
"module": "url_modules.api.state"
},
"api-state-get": {
"url": "/api/state/{info}",
"match": "^/api/state/(.+)$",
"module": "url_modules.api.state"
},
"api-event": {
"url": "/api/event",
"match": "^/api/event$",
"module": "url_modules.api.event"
},
"api-fs-list": {
"url": "/api/fs/list",
"match": "^/api/fs/list$",
"module": "url_modules.api.fs.list"
},
"api-fs-read": {
"url": "/api/fs/read",
"match": "^/api/fs/read$",
"module": "url_modules.api.fs.read"
},
"api-fs-write": {
"url": "/api/fs/write",
"match": "^/api/fs/write$",
"module": "url_modules.api.fs.write"
},
"api-sources": {
"url": "/api/sources$",
"match": "^/api/sources$",
"module": "url_modules.api.sources"
},
"api-breakpoint-add": {
"url": "/api/breakpoint/add",
"match": "^/api/breakpoint/add$",
"module": "url_modules.api.breakpoint.add"
},
"api-breakpoint-del": {
"url": "/api/breakpoint/del",
"match": "^/api/breakpoint/del$",
"module": "url_modules.api.breakpoint.del"
},
"api-breakpoint-set-enabled": {
"url": "/api/breakpoint/set_enabled",
"match": "^/api/breakpoint/set_enabled$",
"module": "url_modules.api.breakpoint.set_enabled"
},
"api-runtime-signal": {
"url": "/api/runtime/signal",
"match": "^/api/runtime/signal",
"module": "url_modules.api.runtime.signal"
},
"api-runtime-terminate": {
"url": "/api/runtime/terminate",
"match": "^/api/runtime/terminate",
"module": "url_modules.api.runtime.terminate"
},
"api-runtime-run": {
"url": "/api/runtime/run",
"match": "^/api/runtime/run$",
"module": "url_modules.api.runtime.run"
},
"api-runtime-pause": {
"url": "/api/runtime/pause",
"match": "^/api/runtime/pause$",
"module": "url_modules.api.runtime.pause"
},
"api-runtime-step": {
"url": "/api/runtime/step",
"match": "^/api/runtime/step$",
"module": "url_modules.api.runtime.step"
},
"api-runtime-next": {
"url": "/api/runtime/next",
"match": "^/api/runtime/next$",
"module": "url_modules.api.runtime.next"
},
"api-runtime-stepi": {
"url": "/api/runtime/stepi",
"match": "^/api/runtime/stepi$",
"module": "url_modules.api.runtime.stepi"
},
"api-runtime-continue": {
"url": "/api/runtime/continue",
"match": "^/api/runtime/continue$",
"module": "url_modules.api.runtime.continue"
},
"api-thread-switch": {
"url": "/api/thread/switch",
"match": "^/api/thread/switch$",
"module": "url_modules.api.thread.switch"
},
"api-stack-trace": {
"url": "/api/stack/trace",
"match": "^/api/stack/trace$",
"module": "url_modules.api.stack.trace"
},
"api-stack-switch": {
"url": "/api/stack/switch",
"match": "^/api/stack/switch$",
"module": "url_modules.api.stack.switch"
},
"api-frame-variable": {
"url": "/api/frame/variable",
"match": "^/api/frame/variable$",
"module": "url_modules.api.frame.variable"
},
"api-load": {
"url": "/api/load",
"match": "^/api/load$",
"module": "url_modules.api.load"
},
"api-connect": {
"url": "/api/connect",
"match": "^/api/connect$",
"module": "url_modules.api.connect"
},
"api-disassemble": {
"url": "/api/disassemble",
"match": "^/api/disassemble$",
"module": "url_modules.api.disassemble"
},
"api-disassemble-frame": {
"url": "/api/disassemble-frame",
"match": "^/api/disassemble-frame$",
"module": "url_modules.api.disassemble_frame"
},
"main-layout": {
"url": "/{layout}/",
"match": "^/(.+?)/?$",
"module": "url_modules.main.main",
"force_slash": True
}
}