.text:00000000 ; .text:00000000 ; +-------------------------------------------------------------------------+ .text:00000000 ; ¦ This file is generated by The Interactive Disassembler (IDA) ¦ .text:00000000 ; ¦ Copyright (c) 2006 by DataRescue sa/nv, ¦ .text:00000000 ; ¦ Licensed to: University of Wisconsin, 5 users std, edu, 09/2004 ¦ .text:00000000 ; +-------------------------------------------------------------------------+ .text:00000000 ; .text:00000000 ; File Name : D:\Work\TSL.McDASH\TSL\analyzer\TSLFiles\DASH\regression\instraliasing\alias-g3.obj .text:00000000 ; Format : COFF (X386MAGIC) .text:00000000 ; includelib "LIBCMT" .text:00000000 ; includelib "OLDNAMES"" .text:00000000 .text:00000000 .686p .text:00000000 .mmx .text:00000000 .model flat .text:00000000 .text:00000000 ; --------------------------------------------------------------------------- .text:00000000 .text:00000000 ; Segment type: Pure code .text:00000000 _text segment para public 'CODE' use32 .text:00000000 assume cs:_text .text:00000000 assume es:nothing, ss:nothing, ds:nothing, fs:nothing, gs:nothing .text:00000000 .text:00000000 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ .text:00000000 .text:00000000 ; Attributes: bp-based frame .text:00000000 .text:00000000 public _foo .text:00000000 _foo proc near ; DATA XREF: _main+1Do .text:00000000 .text:00000000 arg_0 = dword ptr 8 .text:00000000 .text:00000000 push ebp .text:00000001 mov ebp, esp .text:00000003 mov eax, dword ptr ds:_g .text:00000008 add eax, [ebp+arg_0] .text:0000000B mov dword ptr ds:_g, eax .text:00000010 mov eax, 1 .text:00000015 pop ebp .text:00000016 retn .text:00000016 _foo endp .text:00000016 .text:00000016 ; --------------------------------------------------------------------------- .text:00000017 align 10h .text:00000020 .text:00000020 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ .text:00000020 .text:00000020 ; Attributes: bp-based frame .text:00000020 .text:00000020 public _unreachable .text:00000020 _unreachable proc near ; CODE XREF: _main+35p .text:00000020 push ebp .text:00000021 mov ebp, esp .text:00000023 pop ebp .text:00000024 retn .text:00000024 _unreachable endp .text:00000024 .text:00000024 ; --------------------------------------------------------------------------- .text:00000025 align 10h .text:00000030 .text:00000030 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ .text:00000030 .text:00000030 ; Attributes: bp-based frame .text:00000030 .text:00000030 public _main .text:00000030 _main proc near .text:00000030 push ebp .text:00000031 mov ebp, esp .text:00000033 push ebx .text:00000034 mov dword ptr ds:_g, 3 .text:0000003E mov eax, 2 .text:00000043 .text:00000043 $L1$592: ; DATA XREF: _main+22o .text:00000043 mov edx, 0D0FF046Ah .text:00000048 cmp eax, 1 .text:0000004B jz short loc_5A .text:0000004D mov eax, offset _foo .text:00000052 lea ebx, $L1$592+1 .text:00000058 jmp ebx .text:0000005A ; --------------------------------------------------------------------------- .text:0000005A .text:0000005A loc_5A: ; CODE XREF: _main+1Bj .text:0000005A xor edx, edx .text:0000005C cmp dword ptr ds:_g, 3 .text:00000063 jnz short loc_6A .text:00000065 call _unreachable .text:0000006A .text:0000006A loc_6A: ; CODE XREF: _main+33j .text:0000006A xor eax, eax .text:0000006C pop ebx .text:0000006D pop ebp .text:0000006E retn .text:0000006E _main endp .text:0000006E .text:0000006E _text ends .text:0000006E UNDEF:00000070 ; --------------------------------------------------------------------------- UNDEF:00000070 UNDEF:00000070 ; Segment type: Externs UNDEF:00000070 ; UNDEF UNDEF:00000070 extrn _g:near ; DATA XREF: _foo+3r UNDEF:00000070 ; _foo+Bw ... UNDEF:00000070 UNDEF:00000070 UNDEF:00000070 end