Search Posts

In shit again, c++ built-in function got divide by zero exception

In shit again, c++ built-in function got divide by zero exception

01790ae6 <_ZNKSt8__detail18_Mod_range_hashingclEmm>:
 1790ae6:       55                      push   %ebp
 1790ae7:       89 e5                   mov    %esp,%ebp
 1790ae9:       8b 45 0c                mov    0xc(%ebp),%eax
 1790aec:       ba 00 00 00 00          mov    $0x0,%edx
 1790af1:       f7 75 10                divl   0x10(%ebp)
 1790af4:       89 d0                   mov    %edx,%eax
 1790af6:       5d                      pop    %ebp
 1790af7:       c3                      ret    
(0) [0x000001790aec] 0010:01790aec (unk. ctxt): mov edx, 0x00000000       ; ba00000000
(0) [0x000001790af1] 0010:01790af1 (unk. ctxt): div eax, dword ptr ss:[ebp+16] ; f77510
(0) [0x000000500000] 0010:00500000 (unk. ctxt): inc esp                   ; 44
(0) [0x000000500001] 0010:00500001 (unk. ctxt): xor byte ptr ss:[ebp+118], al ; 304576
(0) [0x000000500004] 0010:00500004 (unk. ctxt): add byte ptr ds:[esi], ch ; 002e
(0) [0x000000500006] 0010:00500006 (unk. ctxt): das                       ; 2e2f
(0) [0x000000500008] 0010:00500008 (unk. ctxt): das                       ; 2e2e2f
(0) [0x00000050000b] 0010:0050000b (unk. ctxt): das                       ; 2e2e2f
(0) [0x00000050000e] 0010:0050000e (unk. ctxt): das                       ; 2e2e2f
(0) [0x000000500011] 0010:00500011 (unk. ctxt): arpl word ptr ss:[bp+di+45], sp ; 6763632d
(0) [0x000000500015] 0010:00500015 (unk. ctxt): xor eax, 0x302e322e       ; 352e322e30
(0) [0x00000050001a] 0010:0050001a (unk. ctxt): das                       ; 2f

Leave a Reply

Your email address will not be published. Required fields are marked *