blob: 85d228fc3af01b3c208d00fdf2f316bc2a43e066 [file] [log] [blame]
Juan Cespedesd44c6b81998-09-25 14:48:42 +02001#include "config.h"
Juan Cespedesd44c6b81998-09-25 14:48:42 +02002
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +02003#include <stdlib.h>
Juan Cespedes7186e2a2003-01-31 19:56:34 +01004#include <string.h>
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +02005#include <assert.h>
Petr Machata2b46cfc2012-02-18 11:17:29 +01006#include <error.h>
7#include <errno.h>
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +02008
Juan Cespedesf1bfe202002-03-27 00:22:23 +01009#ifdef __powerpc__
10#include <sys/ptrace.h>
11#endif
12
Petr Machata9294d822012-02-07 12:35:58 +010013#include "breakpoint.h"
Juan Cespedesf7281232009-06-25 16:11:21 +020014#include "common.h"
Petr Machata366c2f42012-02-09 19:34:36 +010015#include "proc.h"
Petr Machata2b46cfc2012-02-18 11:17:29 +010016#include "library.h"
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +020017
Petr Machatac67a6e62012-03-28 02:39:49 +020018#ifndef ARCH_HAVE_TRANSLATE_ADDRESS
19int
20arch_translate_address(struct Process *proc,
21 target_address_t addr, target_address_t *ret)
22{
23 *ret = addr;
24 return 0;
25}
26#endif
27
Petr Machataa9fd8f42012-02-07 13:25:56 +010028void
29breakpoint_on_hit(struct breakpoint *bp, struct Process *proc)
30{
31 assert(bp != NULL);
32 if (bp->cbs != NULL && bp->cbs->on_hit != NULL)
Petr Machata55ac9322012-03-27 03:07:35 +020033 (bp->cbs->on_hit)(bp, proc);
34}
35
36void
37breakpoint_on_continue(struct breakpoint *bp, struct Process *proc)
38{
39 assert(bp != NULL);
40 if (bp->cbs != NULL && bp->cbs->on_continue != NULL)
41 (bp->cbs->on_continue)(bp, proc);
42 else
43 continue_after_breakpoint(proc, bp);
Petr Machataa9fd8f42012-02-07 13:25:56 +010044}
45
Petr Machata86d38282012-04-24 18:09:01 +020046void
47breakpoint_on_retract(struct breakpoint *bp, struct Process *proc)
48{
49 assert(bp != NULL);
50 if (bp->cbs != NULL && bp->cbs->on_retract != NULL)
51 (bp->cbs->on_retract)(bp, proc);
52}
53
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +020054/*****************************************************************************/
55
Petr Machata9294d822012-02-07 12:35:58 +010056struct breakpoint *
Petr Machatafed1e8d2012-02-07 02:06:29 +010057address2bpstruct(Process *proc, void *addr)
58{
Petr Machata26627682011-07-08 18:15:32 +020059 assert(proc != NULL);
60 assert(proc->breakpoints != NULL);
Petr Machata9a5420c2011-07-09 11:21:23 +020061 assert(proc->leader == proc);
Juan Cespedescd8976d2009-05-14 13:47:58 +020062 debug(DEBUG_FUNCTION, "address2bpstruct(pid=%d, addr=%p)", proc->pid, addr);
Juan Cespedescac15c32003-01-31 18:58:58 +010063 return dict_find_entry(proc->breakpoints, addr);
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +020064}
65
Petr Machata8cce1192012-03-25 01:37:19 +010066#ifndef ARCH_HAVE_BREAKPOINT_DATA
Petr Machata2b46cfc2012-02-18 11:17:29 +010067int
68arch_breakpoint_init(struct Process *proc, struct breakpoint *sbp)
69{
70 return 0;
71}
Petr Machata8cce1192012-03-25 01:37:19 +010072
73void
74arch_breakpoint_destroy(struct breakpoint *sbp)
75{
76}
Petr Machatad3cc9882012-04-13 21:40:23 +020077
78int
79arch_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp)
80{
81 return 0;
82}
Petr Machata2b46cfc2012-02-18 11:17:29 +010083#endif
84
Petr Machatad3cc9882012-04-13 21:40:23 +020085static void
86breakpoint_init_base(struct breakpoint *bp, struct Process *proc,
87 target_address_t addr, struct library_symbol *libsym)
88{
89 bp->cbs = NULL;
90 bp->addr = addr;
91 memset(bp->orig_value, 0, sizeof(bp->orig_value));
92 bp->enabled = 0;
93 bp->libsym = libsym;
94}
95
Petr Machata52dbfb12012-03-29 16:38:26 +020096/* On second thought, I don't think we need PROC. All the translation
97 * (arch_translate_address in particular) should be doable using
98 * static lookups of various sections in the ELF file. We shouldn't
99 * need process for anything. */
Petr Machata2b46cfc2012-02-18 11:17:29 +0100100int
101breakpoint_init(struct breakpoint *bp, struct Process *proc,
Petr Machata55ac9322012-03-27 03:07:35 +0200102 target_address_t addr, struct library_symbol *libsym)
Petr Machata2b46cfc2012-02-18 11:17:29 +0100103{
Petr Machatad3cc9882012-04-13 21:40:23 +0200104 breakpoint_init_base(bp, proc, addr, libsym);
Petr Machata2b46cfc2012-02-18 11:17:29 +0100105 return arch_breakpoint_init(proc, bp);
106}
107
Petr Machata8cce1192012-03-25 01:37:19 +0100108void
Petr Machata55ac9322012-03-27 03:07:35 +0200109breakpoint_set_callbacks(struct breakpoint *bp, struct bp_callbacks *cbs)
110{
111 if (bp->cbs != NULL)
112 assert(bp->cbs == NULL);
113 bp->cbs = cbs;
114}
115
116void
Petr Machata8cce1192012-03-25 01:37:19 +0100117breakpoint_destroy(struct breakpoint *bp)
118{
119 if (bp == NULL)
120 return;
Petr Machata8cce1192012-03-25 01:37:19 +0100121 arch_breakpoint_destroy(bp);
122}
123
Petr Machatad3cc9882012-04-13 21:40:23 +0200124struct find_symbol_data {
125 struct library_symbol *old_libsym;
126 struct library_symbol *found_libsym;
127};
128
129static enum callback_status
130find_sym_in_lib(struct Process *proc, struct library *lib, void *u)
131{
132 struct find_symbol_data *fs = u;
133 fs->found_libsym
134 = library_each_symbol(lib, NULL, library_symbol_equal_cb,
135 fs->old_libsym);
136 return fs->found_libsym != NULL ? CBS_STOP : CBS_CONT;
137}
138
139int
140breakpoint_clone(struct breakpoint *retp, struct Process *new_proc,
141 struct breakpoint *bp, struct Process *old_proc)
142{
143 /* Find library and symbol that this breakpoint was linked to. */
144 struct library_symbol *libsym = bp->libsym;
145 struct library *lib = NULL;
146 if (libsym != NULL) {
147 struct find_symbol_data f_data = {
148 .old_libsym = libsym,
149 };
150 lib = proc_each_library(old_proc, NULL,
151 find_sym_in_lib, &f_data);
152 assert(lib != NULL);
153 libsym = f_data.found_libsym;
154 }
155
156 /* LIB and LIBSYM now hold the new library and symbol that
157 * correspond to the original breakpoint. Now we can do the
158 * clone itself. */
159 breakpoint_init_base(retp, new_proc, bp->addr, libsym);
160 memcpy(retp->orig_value, bp->orig_value, sizeof(bp->orig_value));
161 retp->enabled = bp->enabled;
Petr Machatad3cc9882012-04-13 21:40:23 +0200162 if (arch_breakpoint_clone(retp, bp) < 0)
163 return -1;
164 breakpoint_set_callbacks(retp, bp->cbs);
165 return 0;
166}
167
Petr Machata52dbfb12012-03-29 16:38:26 +0200168int
Petr Machatafa0c5702012-04-13 18:43:40 +0200169breakpoint_turn_on(struct breakpoint *bp, struct Process *proc)
Petr Machata52dbfb12012-03-29 16:38:26 +0200170{
Petr Machata52dbfb12012-03-29 16:38:26 +0200171 bp->enabled++;
172 if (bp->enabled == 1) {
Petr Machatafa0c5702012-04-13 18:43:40 +0200173 assert(proc->pid != 0);
174 enable_breakpoint(proc, bp);
Petr Machata52dbfb12012-03-29 16:38:26 +0200175 }
176 return 0;
177}
178
179int
Petr Machatafa0c5702012-04-13 18:43:40 +0200180breakpoint_turn_off(struct breakpoint *bp, struct Process *proc)
Petr Machata52dbfb12012-03-29 16:38:26 +0200181{
Petr Machata52dbfb12012-03-29 16:38:26 +0200182 bp->enabled--;
183 if (bp->enabled == 0)
Petr Machatafa0c5702012-04-13 18:43:40 +0200184 disable_breakpoint(proc, bp);
Petr Machata52dbfb12012-03-29 16:38:26 +0200185 assert(bp->enabled >= 0);
186 return 0;
187}
188
Petr Machata9294d822012-02-07 12:35:58 +0100189struct breakpoint *
Petr Machata9df15012012-02-20 12:49:46 +0100190insert_breakpoint(struct Process *proc, void *addr,
191 struct library_symbol *libsym)
Petr Machatafed1e8d2012-02-07 02:06:29 +0100192{
Petr Machata9df15012012-02-20 12:49:46 +0100193 Process *leader = proc->leader;
Petr Machata9a5420c2011-07-09 11:21:23 +0200194
195 /* Only the group leader should be getting the breakpoints and
196 * thus have ->breakpoint initialized. */
197 assert(leader != NULL);
198 assert(leader->breakpoints != NULL);
199
Petr Machata050b0a62012-04-03 01:30:30 +0200200 debug(DEBUG_FUNCTION, "insert_breakpoint(pid=%d, addr=%p, symbol=%s)",
201 proc->pid, addr, libsym ? libsym->name : "NULL");
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +0200202
Petr Machata218c5ff2012-04-15 04:22:39 +0200203 assert(addr != 0);
Ian Wienand9a2ad352006-02-20 22:44:45 +0100204
Petr Machata52dbfb12012-03-29 16:38:26 +0200205 /* XXX what we need to do instead is have a list of
206 * breakpoints that are enabled at this address. The
207 * following works if every breakpoint is the same and there's
208 * no extra data, but that doesn't hold anymore. For now it
209 * will suffice, about the only realistic case where we need
210 * to have more than one breakpoint per address is return from
211 * a recursive library call. */
Petr Machata2b46cfc2012-02-18 11:17:29 +0100212 struct breakpoint *sbp = dict_find_entry(leader->breakpoints, addr);
Petr Machatafed1e8d2012-02-07 02:06:29 +0100213 if (sbp == NULL) {
Petr Machata2b46cfc2012-02-18 11:17:29 +0100214 sbp = malloc(sizeof(*sbp));
215 if (sbp == NULL
Petr Machata52dbfb12012-03-29 16:38:26 +0200216 || breakpoint_init(sbp, proc, addr, libsym) < 0) {
217 free(sbp);
218 return NULL;
219 }
Petr Machatafa0c5702012-04-13 18:43:40 +0200220 if (proc_add_breakpoint(leader, sbp) < 0) {
Petr Machata52dbfb12012-03-29 16:38:26 +0200221 fail:
222 breakpoint_destroy(sbp);
Petr Machata2b46cfc2012-02-18 11:17:29 +0100223 free(sbp);
224 return NULL;
Juan Cespedescac15c32003-01-31 18:58:58 +0100225 }
Juan Cespedescac15c32003-01-31 18:58:58 +0100226 }
Petr Machata2b46cfc2012-02-18 11:17:29 +0100227
Petr Machata45728772012-04-15 04:23:55 +0200228 if (breakpoint_turn_on(sbp, proc) < 0) {
229 proc_remove_breakpoint(leader, sbp);
Petr Machata52dbfb12012-03-29 16:38:26 +0200230 goto fail;
Petr Machata45728772012-04-15 04:23:55 +0200231 }
Petr Machata9294d822012-02-07 12:35:58 +0100232
233 return sbp;
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +0200234}
235
Juan Cespedesf1350522008-12-16 18:19:58 +0100236void
Petr Machatafed1e8d2012-02-07 02:06:29 +0100237delete_breakpoint(Process *proc, void *addr)
238{
Juan Cespedescd8976d2009-05-14 13:47:58 +0200239 debug(DEBUG_FUNCTION, "delete_breakpoint(pid=%d, addr=%p)", proc->pid, addr);
240
Petr Machata9a5420c2011-07-09 11:21:23 +0200241 Process * leader = proc->leader;
242 assert(leader != NULL);
243
Petr Machataf7fee432012-04-19 17:00:53 +0200244 struct breakpoint *sbp = dict_find_entry(leader->breakpoints, addr);
245 assert(sbp != NULL);
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +0200246 /* This should only happen on out-of-memory conditions. */
Ian Wienand2d45b1a2006-02-20 22:48:07 +0100247 if (sbp == NULL)
248 return;
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +0200249
Petr Machatafa0c5702012-04-13 18:43:40 +0200250 if (breakpoint_turn_off(sbp, proc) < 0) {
Petr Machata52dbfb12012-03-29 16:38:26 +0200251 fprintf(stderr, "Couldn't turn off the breakpoint %s@%p\n",
252 breakpoint_name(sbp), sbp->addr);
253 return;
254 }
Petr Machataf7fee432012-04-19 17:00:53 +0200255 if (sbp->enabled == 0) {
256 proc_remove_breakpoint(leader, sbp);
257 breakpoint_destroy(sbp);
258 free(sbp);
259 }
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +0200260}
261
Petr Machatae9aebd62012-03-25 01:38:53 +0100262const char *
263breakpoint_name(const struct breakpoint *bp)
264{
265 assert(bp != NULL);
266 return bp->libsym != NULL ? bp->libsym->name : NULL;
267}
268
Petr Machata52dbfb12012-03-29 16:38:26 +0200269struct library *
270breakpoint_library(const struct breakpoint *bp)
271{
272 assert(bp != NULL);
273 return bp->libsym != NULL ? bp->libsym->lib : NULL;
274}
275
Juan Cespedesf1350522008-12-16 18:19:58 +0100276static void
Petr Machatafed1e8d2012-02-07 02:06:29 +0100277enable_bp_cb(void *addr, void *sbp, void *proc)
278{
Juan Cespedescd8976d2009-05-14 13:47:58 +0200279 debug(DEBUG_FUNCTION, "enable_bp_cb(pid=%d)", ((Process *)proc)->pid);
Petr Machatabc373262012-02-07 23:31:15 +0100280 if (((struct breakpoint *)sbp)->enabled)
Petr Machataf789c9c2011-07-09 10:54:27 +0200281 enable_breakpoint(proc, sbp);
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +0200282}
283
Juan Cespedesf1350522008-12-16 18:19:58 +0100284void
Petr Machatabc373262012-02-07 23:31:15 +0100285enable_all_breakpoints(Process *proc)
286{
Juan Cespedescd8976d2009-05-14 13:47:58 +0200287 debug(DEBUG_FUNCTION, "enable_all_breakpoints(pid=%d)", proc->pid);
Petr Machata61196a42012-02-07 16:41:03 +0100288
289 debug(1, "Enabling breakpoints for pid %u...", proc->pid);
290 if (proc->breakpoints) {
291 dict_apply_to_all(proc->breakpoints, enable_bp_cb,
292 proc);
293 }
294#ifdef __mips__
295 {
296 /*
297 * I'm sure there is a nicer way to do this. We need to
298 * insert breakpoints _after_ the child has been started.
299 */
300 struct library_symbol *sym;
301 struct library_symbol *new_sym;
302 sym=proc->list_of_symbols;
303 while(sym){
304 void *addr= sym2addr(proc,sym);
305 if(!addr){
306 sym=sym->next;
307 continue;
308 }
309 if(dict_find_entry(proc->breakpoints,addr)){
310 sym=sym->next;
311 continue;
312 }
313 debug(2,"inserting bp %p %s",addr,sym->name);
314 new_sym=malloc(sizeof(*new_sym) + strlen(sym->name) + 1);
315 memcpy(new_sym,sym,sizeof(*new_sym) + strlen(sym->name) + 1);
316 new_sym->next=proc->list_of_symbols;
317 proc->list_of_symbols=new_sym;
318 insert_breakpoint(proc, addr, new_sym);
319 sym=sym->next;
320 }
321 }
322#endif
Juan Cespedes5e01f651998-03-08 22:31:44 +0100323}
324
Juan Cespedesf1350522008-12-16 18:19:58 +0100325static void
Petr Machatafed1e8d2012-02-07 02:06:29 +0100326disable_bp_cb(void *addr, void *sbp, void *proc)
327{
Juan Cespedescd8976d2009-05-14 13:47:58 +0200328 debug(DEBUG_FUNCTION, "disable_bp_cb(pid=%d)", ((Process *)proc)->pid);
Petr Machatabc373262012-02-07 23:31:15 +0100329 if (((struct breakpoint *)sbp)->enabled)
Petr Machataf789c9c2011-07-09 10:54:27 +0200330 disable_breakpoint(proc, sbp);
Juan Cespedes5b3ffdf2001-07-02 00:52:45 +0200331}
332
Juan Cespedesf1350522008-12-16 18:19:58 +0100333void
Juan Cespedesa8909f72009-04-28 20:02:41 +0200334disable_all_breakpoints(Process *proc) {
Juan Cespedescd8976d2009-05-14 13:47:58 +0200335 debug(DEBUG_FUNCTION, "disable_all_breakpoints(pid=%d)", proc->pid);
Petr Machata9a5420c2011-07-09 11:21:23 +0200336 assert(proc->leader == proc);
Petr Machata61196a42012-02-07 16:41:03 +0100337 dict_apply_to_all(proc->breakpoints, disable_bp_cb, proc);
Juan Cespedes5e01f651998-03-08 22:31:44 +0100338}
Juan Cespedes7186e2a2003-01-31 19:56:34 +0100339
Petr Machatad09d2402012-04-13 21:34:08 +0200340/* XXX This is not currently properly supported. On clone, this is
341 * just sliced. Hopefully at the point that clone is done, this
342 * breakpoint is not necessary anymore. If this use case ends up
343 * being important, we need to add a clone and destroy callbacks to
344 * breakpoints, and we should also probably drop arch_breakpoint_data
345 * so that we don't end up with two different customization mechanisms
346 * for one structure. */
Petr Machata52dbfb12012-03-29 16:38:26 +0200347struct entry_breakpoint {
348 struct breakpoint super;
349 target_address_t dyn_addr;
350};
351
Petr Machata02648a12012-02-07 13:44:54 +0100352static void
Petr Machata12affff2012-03-29 18:33:03 +0200353entry_breakpoint_on_hit(struct breakpoint *a, struct Process *proc)
Petr Machata02648a12012-02-07 13:44:54 +0100354{
Petr Machata52dbfb12012-03-29 16:38:26 +0200355 struct entry_breakpoint *bp = (void *)a;
Petr Machata02648a12012-02-07 13:44:54 +0100356 if (proc == NULL || proc->leader == NULL)
357 return;
Petr Machata5ee36822012-04-19 17:01:51 +0200358 target_address_t dyn_addr = bp->dyn_addr;
Petr Machata3fd099b2012-04-03 02:25:42 +0200359 delete_breakpoint(proc, bp->super.addr);
Petr Machata5ee36822012-04-19 17:01:51 +0200360 linkmap_init(proc, dyn_addr);
Petr Machata93d95df2012-04-17 05:16:19 +0200361 arch_dynlink_done(proc);
Petr Machata52dbfb12012-03-29 16:38:26 +0200362}
363
364int
365entry_breakpoint_init(struct Process *proc,
Petr Machata9a04d0e2012-03-29 16:50:38 +0200366 struct entry_breakpoint *bp, target_address_t addr,
367 struct library *lib)
Petr Machata52dbfb12012-03-29 16:38:26 +0200368{
369 int err;
370 if ((err = breakpoint_init(&bp->super, proc, addr, NULL)) < 0)
371 return err;
372
373 static struct bp_callbacks entry_callbacks = {
Petr Machata12affff2012-03-29 18:33:03 +0200374 .on_hit = entry_breakpoint_on_hit,
Petr Machata52dbfb12012-03-29 16:38:26 +0200375 };
376 bp->super.cbs = &entry_callbacks;
Petr Machata9a04d0e2012-03-29 16:50:38 +0200377 bp->dyn_addr = lib->dyn_addr;
Petr Machata52dbfb12012-03-29 16:38:26 +0200378 return 0;
Petr Machata02648a12012-02-07 13:44:54 +0100379}
380
Petr Machata1974dbc2011-08-19 18:58:01 +0200381int
Petr Machata75934ad2012-04-14 02:28:03 +0200382breakpoints_init(Process *proc)
Petr Machatac7585b62011-07-08 22:58:12 +0200383{
Juan Cespedescd8976d2009-05-14 13:47:58 +0200384 debug(DEBUG_FUNCTION, "breakpoints_init(pid=%d)", proc->pid);
Petr Machata26627682011-07-08 18:15:32 +0200385
Petr Machata2b46cfc2012-02-18 11:17:29 +0100386 /* XXX breakpoint dictionary should be initialized
387 * outside. Here we just put in breakpoints. */
388 assert(proc->breakpoints != NULL);
389
390 /* Only the thread group leader should hold the breakpoints. */
Petr Machata9a5420c2011-07-09 11:21:23 +0200391 assert(proc->leader == proc);
392
Petr Machata807cdd82012-04-05 02:08:25 +0200393 /* N.B. the following used to be conditional on this, and
394 * maybe it still needs to be. */
395 assert(proc->filename != NULL);
396
397 struct library *lib = ltelf_read_main_binary(proc, proc->filename);
398 struct entry_breakpoint *entry_bp = NULL;
399 int bp_state = 0;
400 int result = -1;
401 switch (lib != NULL) {
402 fail:
Petr Machata807cdd82012-04-05 02:08:25 +0200403 switch (bp_state) {
404 case 2:
Petr Machataa2416362012-04-06 02:43:34 +0200405 proc_remove_library(proc, lib);
Petr Machata807cdd82012-04-05 02:08:25 +0200406 proc_remove_breakpoint(proc, &entry_bp->super);
407 case 1:
408 breakpoint_destroy(&entry_bp->super);
Petr Machata1974dbc2011-08-19 18:58:01 +0200409 }
Petr Machataa2416362012-04-06 02:43:34 +0200410 library_destroy(lib);
Petr Machata807cdd82012-04-05 02:08:25 +0200411 free(entry_bp);
412 case 0:
413 return result;
Petr Machata02648a12012-02-07 13:44:54 +0100414 }
415
Petr Machata807cdd82012-04-05 02:08:25 +0200416 entry_bp = malloc(sizeof(*entry_bp));
417 if (entry_bp == NULL
418 || (result = entry_breakpoint_init(proc, entry_bp,
419 lib->entry, lib)) < 0)
420 goto fail;
Petr Machata807cdd82012-04-05 02:08:25 +0200421 ++bp_state;
Petr Machata00928202012-04-07 01:14:24 +0200422
Petr Machata807cdd82012-04-05 02:08:25 +0200423 if ((result = proc_add_breakpoint(proc, &entry_bp->super)) < 0)
424 goto fail;
Petr Machata807cdd82012-04-05 02:08:25 +0200425 ++bp_state;
Petr Machata00928202012-04-07 01:14:24 +0200426
Petr Machatafa0c5702012-04-13 18:43:40 +0200427 if ((result = breakpoint_turn_on(&entry_bp->super, proc)) < 0)
Petr Machata807cdd82012-04-05 02:08:25 +0200428 goto fail;
Petr Machataa2416362012-04-06 02:43:34 +0200429 proc_add_library(proc, lib);
430
Juan Cespedes7186e2a2003-01-31 19:56:34 +0100431 proc->callstack_depth = 0;
Petr Machata1974dbc2011-08-19 18:58:01 +0200432 return 0;
Juan Cespedes7186e2a2003-01-31 19:56:34 +0100433}