[*] Binary protection state of xmldb
RELRO CANARY NX PIE RPATH RUNPATH SYMBOLS
No RELRO No Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of xmldb
4023ac: ac430004 sw v1,4(v0)
4023b0: 03e00008 jr ra
4023b4: ac40002c sw zero,44(v0)
4023b8: 03e00008 jr ra
4023bc: 00001021 move v0,zero
4023c0: 3c1c0044 lui gp,0x44
4023c4: 27bdfec8 addiu sp,sp,-312
4023c8: 279cb970 addiu gp,gp,-18064
4023cc: afbf0134 sw ra,308(sp)
4023d0: afb30130 sw s3,304(sp)
4023d4: afb2012c sw s2,300(sp)
4023d8: afb10128 sw s1,296(sp)
4023dc: afb00124 sw s0,292(sp)
4023e0: afbc0010 sw gp,16(sp)
4023e4: 3c100043 lui s0,0x43
4023e8: 8f998228 lw t9,-32216(gp)
4023ec: 8e043ce0 lw a0,15584(s0)
4023f0: 0320f809 jalr t9
4023f4: 27a50088 addiu a1,sp,136
4023f8: 8fbc0010 lw gp,16(sp)
4023fc: 0440000b bltz v0,40242c <ain@@Base+0x1ac>
402400: 3c050042 lui a1,0x42
402404: 8f82818c lw v0,-32372(gp)
402408: 8e063ce0 lw a2,15584(s0)
40240c: 8c440000 lw a0,0(v0)
402410: 8f9980f4 lw t9,fprintf
402414: 3c070042 lui a3,0x42
402418: 24a51ae4 addiu a1,a1,6884
--
402434: 0320f809 jalr t9
402438: 00000000 nop
40243c: 8fbc0010 lw gp,16(sp)
402440: 00402021 move a0,v0
402444: 8f9981c8 lw t9,-32312(gp)
402448: 240501f8 li a1,504
40244c: 0320f809 jalr t9
402450: 00409821 move s3,v0
402454: 8fbc0010 lw gp,16(sp)
402458: 1440001d bnez v0,4024d0 <ain@@Base+0x250>
40245c: 00000000 nop
402460: 8f9982fc lw t9,-32004(gp)
402464: 8f82818c lw v0,-32372(gp)
402468: 8e113ce0 lw s1,15584(s0)
40246c: 8c500000 lw s0,0(v0)
402470: 0320f809 jalr t9
402474: 2412ffff li s2,-1
402478: 8fbc0010 lw gp,16(sp)
40247c: 8c440000 lw a0,0(v0)
402480: 8f998058 lw t9,-32680(gp)
402484: 00000000 nop
402488: 0320f809 jalr t9
40248c: 00000000 nop
402490: 8fbc0010 lw gp,16(sp)
402494: 3c050042 lui a1,0x42
402498: 8f9980f4 lw t9,fprintf
40249c: 02002021 move a0,s0
4024a0: 24a51b0c addiu a1,a1,6924
--
4024d8: 0320f809 jalr t9
4024dc: 02602021 move a0,s3
4024e0: 8fbc0010 lw gp,16(sp)
4024e4: 24040001 li a0,1
4024e8: 8f9980cc lw t9,-32564(gp)
4024ec: 24050002 li a1,2
4024f0: 0320f809 jalr t9
4024f4: 00003021 move a2,zero
4024f8: 8fbc0010 lw gp,16(sp)
4024fc: 04410016 bgez v0,402558 <ain@@Base+0x2d8>
402500: 00409021 move s2,v0
402504: 8f9982fc lw t9,-32004(gp)
402508: 8f82818c lw v0,-32372(gp)
40250c: 00000000 nop
402510: 8c500000 lw s0,0(v0)
402514: 0320f809 jalr t9
402518: 00000000 nop
40251c: 8fbc0010 lw gp,16(sp)
402520: 8c440000 lw a0,0(v0)
402524: 8f998058 lw t9,-32680(gp)
402528: 00000000 nop
40252c: 0320f809 jalr t9
402530: 00000000 nop
402534: 8fbc0010 lw gp,16(sp)
402538: 3c050042 lui a1,0x42
40253c: 8f9980f4 lw t9,fprintf
402540: 02002021 move a0,s0
402544: 24a51b2c addiu a1,a1,6956
--
402578: 0320f809 jalr t9
40257c: a7a20018 sh v0,24(sp)
402580: 8fbc0010 lw gp,16(sp)
402584: 02402021 move a0,s2
402588: 8f998328 lw t9,-31960(gp)
40258c: 27a50018 addiu a1,sp,24
402590: 0320f809 jalr t9
402594: 2406006e li a2,110
402598: 8fbc0010 lw gp,16(sp)
40259c: 0441001d bgez v0,402614 <ain@@Base+0x394>
4025a0: 00000000 nop
4025a4: 8f9982fc lw t9,-32004(gp)
4025a8: 8f82818c lw v0,-32372(gp)
4025ac: 00000000 nop
4025b0: 8c500000 lw s0,0(v0)
4025b4: 0320f809 jalr t9
4025b8: 00000000 nop
4025bc: 8fbc0010 lw gp,16(sp)
4025c0: 8c440000 lw a0,0(v0)
4025c4: 8f998058 lw t9,-32680(gp)
4025c8: 00000000 nop
4025cc: 0320f809 jalr t9
4025d0: 00000000 nop
4025d4: 8fbc0010 lw gp,16(sp)
4025d8: 3c050042 lui a1,0x42
4025dc: 8f9980f4 lw t9,fprintf
4025e0: 02002021 move a0,s0
4025e4: 24a51b38 addiu a1,a1,6968
--
403040: 3c020043 lui v0,0x43
403044: 8c453ce0 lw a1,15584(v0)
403048: 3c040042 lui a0,0x42
40304c: 24841d30 addiu a0,a0,7472
403050: 0c100b86 jal 402e18 <client_printf@@Base+0x84>
403054: 3c110043 lui s1,0x43
403058: 8e253cd8 lw a1,15576(s1)
40305c: 3c040042 lui a0,0x42
403060: 0c100b86 jal 402e18 <client_printf@@Base+0x84>
403064: 24841d44 addiu a0,a0,7492
403068: 8fbc0010 lw gp,16(sp)
40306c: 8e243cd8 lw a0,15576(s1)
403070: 8f9981b0 lw t9,-32336(gp)
403074: 3c050042 lui a1,0x42
403078: 0320f809 jalr t9
40307c: 24a51d58 addiu a1,a1,7512
403080: 8fbc0010 lw gp,16(sp)
403084: 10400014 beqz v0,4030d8 <xmldb_main@@Base+0x264>
403088: 00408021 move s0,v0
40308c: 8f9981dc lw t9,-32292(gp)
403090: 00000000 nop
403094: 0320f809 jalr t9
403098: 00000000 nop
40309c: 8fbc0010 lw gp,16(sp)
4030a0: 3c050042 lui a1,0x42
4030a4: 8f9980f4 lw t9,fprintf
4030a8: 02002021 move a0,s0
4030ac: 24a51d5c addiu a1,a1,7516
--
40656c: 24020001 li v0,1
406570: 14c20010 bne a2,v0,4065b4 <xmldb_write_xml@@Base+0x200>
406574: 00000000 nop
406578: 8f998098 lw t9,-32616(gp)
40657c: 8ca4001c lw a0,28(a1)
406580: 3c050042 lui a1,0x42
406584: 0320f809 jalr t9
406588: 24a5255c addiu a1,a1,9564
40658c: 8fbc0010 lw gp,16(sp)
406590: 14400009 bnez v0,4065b8 <xmldb_write_xml@@Base+0x204>
406594: 00008021 move s0,zero
406598: 100000c5 b 4068b0 <xmldb_write_xml@@Base+0x4fc>
40659c: 00000000 nop
4065a0: 0320f809 jalr t9
4065a4: 00000000 nop
4065a8: 8fbc0010 lw gp,16(sp)
4065ac: 10000003 b 4065bc <xmldb_write_xml@@Base+0x208>
4065b0: 0215102a slt v0,s0,s5
4065b4: 00008021 move s0,zero
4065b8: 0215102a slt v0,s0,s5
4065bc: 8f998160 lw t9,-32416(gp)
4065c0: 24040009 li a0,9
4065c4: 02602821 move a1,s3
4065c8: 1440fff5 bnez v0,4065a0 <xmldb_write_xml@@Base+0x1ec>
4065cc: 26100001 addiu s0,s0,1
4065d0: 8f9980f4 lw t9,fprintf
4065d4: 8e46001c lw a2,28(s2)
4065d8: 3c050042 lui a1,0x42
--
4065fc: 8e500010 lw s0,16(s2)
406600: 10000024 b 406694 <xmldb_write_xml@@Base+0x2e0>
406604: 26560010 addiu s6,s2,16
406608: 8e140000 lw s4,0(s0)
40660c: 0320f809 jalr t9
406610: 00000000 nop
406614: 8fbc0010 lw gp,16(sp)
406618: 00408821 move s1,v0
40661c: 8f99813c lw t9,-32452(gp)
406620: 1040001b beqz v0,406690 <xmldb_write_xml@@Base+0x2dc>
406624: 00402821 move a1,v0
406628: 8e02000c lw v0,12(s0)
40662c: 00000000 nop
406630: 10400005 beqz v0,406648 <xmldb_write_xml@@Base+0x294>
406634: 00402021 move a0,v0
406638: 0320f809 jalr t9
40663c: 00000000 nop
406640: 8fbc0010 lw gp,16(sp)
406644: 00000000 nop
406648: 8f9982c4 lw t9,-32060(gp)
40664c: 8e100008 lw s0,8(s0)
406650: 0320f809 jalr t9
406654: 02202021 move a0,s1
406658: 8fbc0010 lw gp,16(sp)
40665c: 02003021 move a2,s0
406660: 8f9980f4 lw t9,fprintf
406664: 00403821 move a3,v0
406668: 02602021 move a0,s3
--
406810: 10000006 b 40682c <xmldb_write_xml@@Base+0x478>
406814: 26b10001 addiu s1,s5,1
406818: 0c101947 jal 40651c <xmldb_write_xml@@Base+0x168>
40681c: 00000000 nop
406820: 8fbc0010 lw gp,16(sp)
406824: 8e100000 lw s0,0(s0)
406828: 00000000 nop
40682c: 02002821 move a1,s0
406830: 02602021 move a0,s3
406834: 02203021 move a2,s1
406838: 1614fff7 bne s0,s4,406818 <xmldb_write_xml@@Base+0x464>
40683c: 02e03821 move a3,s7
406840: 10000004 b 406854 <xmldb_write_xml@@Base+0x4a0>
406844: 00008021 move s0,zero
406848: 0320f809 jalr t9
40684c: 00000000 nop
406850: 8fbc0010 lw gp,16(sp)
406854: 0215102a slt v0,s0,s5
406858: 8f998160 lw t9,-32416(gp)
40685c: 26100001 addiu s0,s0,1
406860: 24040009 li a0,9
406864: 1440fff8 bnez v0,406848 <xmldb_write_xml@@Base+0x494>
406868: 02602821 move a1,s3
40686c: 8e46001c lw a2,28(s2)
406870: 3c050042 lui a1,0x42
406874: 8f9980f4 lw t9,fprintf
406878: 02602021 move a0,s3
40687c: 8fbf003c lw ra,60(sp)
[*] Function fprintf used 8 times xmldb