id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Terraspace/UASM:x64/Debug/main.asm:4 | DD 0128H
DQ FLAT:main$rtcName$1
DD 034H
DD 04H
DQ FLAT:main$rtcName$0
ORG $+144
main$rtcFrameData DD 03H
DD 00H
DQ FLAT:main$rtcVarDesc
CONST ENDS
xdata SEGMENT
$unwind$genfailure DD 021c01H
DD 070053209H
$unwind$main DD 033919H
DD 05e0111H
DD 0700aH
DD imagerel __GSHandlerCheck
DD 02e0H
xdata ENDS
; COMDAT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/main.asm:5 | printf$rtcFrameData DD 01H
DD 00H
DQ FLAT:printf$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 022d01H
DD 070155219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$__local_stdio_printf_options DD 010201H
DD 07002H
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/main.asm:6 | mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+768]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 63 : char *pEnv;
; 64 : int numArgs = 0;
mov DWORD PTR numArgs$[rsp], 0
; 65 : int numFiles = 0;
mov DWORD PTR numFiles$[rsp],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/main.asm:7 | ; 87 : printf("argv[%u]=>%s<\n", i, argv[i] );
; 88 : }
; 89 : #endif
; 90 :
; 91 : #ifdef TRMEM
; 92 : tm_Init();
; 93 : #endif
; 94 :
; 95 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8044
call QWORD PTR __imp_getenv
mov QWORD PTR pEnv$[rsp], rax
; 96 : if (pEnv == NULL)
cmp QWO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/main.asm:8 | lea rdx, OFFSET FLAT:genfailure
mov ecx, 21
call QWORD PTR __imp_signal
$LN2@main:
; 106 : #else
; 107 : signal(SIGTERM, genfailure);
; 108 : #endif
; 109 : /* ParseCmdLine() returns NULL if no source file name has been found (anymore) */
; 110 : while (ParseCmdline((const char **)argv, &numArgs)) {
lea rd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/main.asm:9 | ; 115 : DebugMsg(("main: _findfirst(%s) failed\n", Options.names[ASM]));
mov eax, 8
imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rdx, QWORD PTR [rcx+rax]
lea rcx, OFFSET FLAT:$SG8048
call DoDebugMsg
; 116 : EmitErr(CANNOT_OPEN_FILE, Options.names[ASM], ErrnoStr());
call ErrnoStr
mov ecx, 8
i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/main.asm:10 | mov eax, 8
imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rax, QWORD PTR [rcx+rax]
mov rcx, QWORD PTR pfn$[rsp]
sub rcx, rax
mov rax, rcx
mov DWORD PTR dirsize$[rsp], eax
; 124 : memcpy(fname, Options.names[ASM], dirsize);
movsxd rax, DWORD PTR dirsize$[rsp]
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OF... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/main.asm:11 | ; 131 : rc = AssembleModule(fname); /* assemble 1 module */
lea rcx, QWORD PTR fname$[rsp]
call AssembleModule
mov DWORD PTR rc$[rsp], eax
; 132 : } while ((_findnext(fh, &finfo) != -1));
movsxd rax, DWORD PTR fh$[rsp]
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, rax
call QWORD PTR __imp__findnext64i32
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/main.asm:12 | call write_logo
; 141 : printf("%s", MsgGetEx(MSG_USAGE));
xor ecx, ecx
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG8052
call printf
; 142 : }
jmp SHORT $LN10@main
$LN9@main:
; 143 : else if (numFiles == 0)
cmp DWORD PTR numFiles$[rsp], 0
jne SHORT $LN11@main
; 144 : EmitError(NO_FILENAM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/main.asm:13 | ; 151 : return(1 - rc); /* zero if no errors */
mov eax, 1
sub eax, DWORD PTR rc$[rsp]
; 152 : }
mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:main$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 752 ; 000002... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/main.asm:14 | cmp DWORD PTR signo$[rsp], 21
je SHORT $LN2@genfailure
; 53 : #else
; 54 : if (signo != SIGTERM)
; 55 : #endif
; 56 : EmitError( GENERAL_FAILURE );
mov ecx, 168 ; 000000a8H
call EmitError
$LN2@genfailure:
; 57 : close_files();
call close_files
; 58 : exit( EXIT_FAILURE );
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/main.asm:15 | $LN3:
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
push rdi
sub rsp, 80 ; 00000050H
mov rdi, rsp
mov ecx, 20
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+96]
; 951 : int _Result;
; 952 : va_list _ArgList;
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/main.asm:16 | mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:printf$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
add rsp, 80 ; 00000050H
pop rdi
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vfprintf_l
_TE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/main.asm:17 | mov QWORD PTR [rsp+32], rcx
mov r9, QWORD PTR _Locale$[rsp]
mov r8, QWORD PTR _Format$[rsp]
mov rdx, QWORD PTR _Stream$[rsp]
mov rcx, QWORD PTR [rax]
call QWORD PTR __imp___stdio_common_vfprintf
; 640 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vfprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Odtp /R... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 641 | 677 |
Terraspace/UASM:x64/Debug/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8041 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8039 DB 'HJWASM', 00H
ORG $+1
$SG8043 DB 'main: _... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 0d3e8d613865c3ccda2aec2d12e378aea0f603e4 | github | assembler | https://github.com/Terraspace/UASM/blob/0d3e8d613865c3ccda2aec2d12e378aea0f603e4/x64/Debug/main.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/main.asm:6 | mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+768]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 63 : char *pEnv;
; 64 : int numArgs = 0;
mov DWORD PTR numArgs$[rsp], 0
; 65 : int numFiles = 0;
mov DWORD PTR numFiles$[rsp],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 0d3e8d613865c3ccda2aec2d12e378aea0f603e4 | github | assembler | https://github.com/Terraspace/UASM/blob/0d3e8d613865c3ccda2aec2d12e378aea0f603e4/x64/Debug/main.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/main.asm:7 | ; 87 : printf("argv[%u]=>%s<\n", i, argv[i] );
; 88 : }
; 89 : #endif
; 90 :
; 91 : #ifdef TRMEM
; 92 : tm_Init();
; 93 : #endif
; 94 :
; 95 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8039
call QWORD PTR __imp_getenv
mov QWORD PTR pEnv$[rsp], rax
; 96 : if (pEnv == NULL)
cmp QWO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 0d3e8d613865c3ccda2aec2d12e378aea0f603e4 | github | assembler | https://github.com/Terraspace/UASM/blob/0d3e8d613865c3ccda2aec2d12e378aea0f603e4/x64/Debug/main.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/main.asm:8 | lea rdx, OFFSET FLAT:genfailure
mov ecx, 21
call QWORD PTR __imp_signal
$LN2@main:
; 106 : #else
; 107 : signal(SIGTERM, genfailure);
; 108 : #endif
; 109 : /* ParseCmdLine() returns NULL if no source file name has been found (anymore) */
; 110 : while (ParseCmdline((const char **)argv, &numArgs)) {
lea rd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 0d3e8d613865c3ccda2aec2d12e378aea0f603e4 | github | assembler | https://github.com/Terraspace/UASM/blob/0d3e8d613865c3ccda2aec2d12e378aea0f603e4/x64/Debug/main.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/main.asm:9 | ; 115 : DebugMsg(("main: _findfirst(%s) failed\n", Options.names[ASM]));
mov eax, 8
imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rdx, QWORD PTR [rcx+rax]
lea rcx, OFFSET FLAT:$SG8043
call DoDebugMsg
; 116 : EmitErr(CANNOT_OPEN_FILE, Options.names[ASM], ErrnoStr());
call ErrnoStr
mov ecx, 8
i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 0d3e8d613865c3ccda2aec2d12e378aea0f603e4 | github | assembler | https://github.com/Terraspace/UASM/blob/0d3e8d613865c3ccda2aec2d12e378aea0f603e4/x64/Debug/main.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/main.asm:10 | mov eax, 8
imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rax, QWORD PTR [rcx+rax]
mov rcx, QWORD PTR pfn$[rsp]
sub rcx, rax
mov rax, rcx
mov DWORD PTR dirsize$[rsp], eax
; 124 : memcpy(fname, Options.names[ASM], dirsize);
movsxd rax, DWORD PTR dirsize$[rsp]
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OF... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 0d3e8d613865c3ccda2aec2d12e378aea0f603e4 | github | assembler | https://github.com/Terraspace/UASM/blob/0d3e8d613865c3ccda2aec2d12e378aea0f603e4/x64/Debug/main.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/main.asm:11 | ; 131 : rc = AssembleModule(fname); /* assemble 1 module */
lea rcx, QWORD PTR fname$[rsp]
call AssembleModule
mov DWORD PTR rc$[rsp], eax
; 132 : } while ((_findnext(fh, &finfo) != -1));
movsxd rax, DWORD PTR fh$[rsp]
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, rax
call QWORD PTR __imp__findnext64i32
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 0d3e8d613865c3ccda2aec2d12e378aea0f603e4 | github | assembler | https://github.com/Terraspace/UASM/blob/0d3e8d613865c3ccda2aec2d12e378aea0f603e4/x64/Debug/main.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/main.asm:12 | call write_logo
; 141 : printf("%s", MsgGetEx(MSG_USAGE));
xor ecx, ecx
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG8047
call printf
; 142 : }
jmp SHORT $LN10@main
$LN9@main:
; 143 : else if (numFiles == 0)
cmp DWORD PTR numFiles$[rsp], 0
jne SHORT $LN11@main
; 144 : EmitError(NO_FILENAM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 0d3e8d613865c3ccda2aec2d12e378aea0f603e4 | github | assembler | https://github.com/Terraspace/UASM/blob/0d3e8d613865c3ccda2aec2d12e378aea0f603e4/x64/Debug/main.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/main.asm:6 | mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+784]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 63 : char *pEnv;
; 64 : int numArgs = 0;
mov DWORD PTR numArgs$[rsp], 0
; 65 : int numFiles = 0;
mov DWORD PTR numFiles$[rsp],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/main.asm:7 | ; 87 : tm_Init();
; 88 : #endif
; 89 :
; 90 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8039
call QWORD PTR __imp_getenv
mov QWORD PTR pEnv$[rsp], rax
; 91 : if (pEnv == NULL)
cmp QWORD PTR pEnv$[rsp], 0
jne SHORT $LN7@main
; 92 : pEnv = "";
lea rax, OFFSET FLAT:$SG8041
mov QWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/main.asm:8 | ; 101 : #else
; 102 : signal(SIGTERM, genfailure);
; 103 : #endif
; 104 : /* ParseCmdLine() returns NULL if no source file name has been found (anymore) */
; 105 : while (ParseCmdline((const char **)argv, &numArgs)) {
lea rdx, QWORD PTR numArgs$[rsp]
mov rcx, QWORD PTR argv$[rsp]
call ParseCmdline
test rax... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/main.asm:9 | lea rcx, OFFSET FLAT:Options+32
mov rdx, QWORD PTR [rcx+rax]
lea rcx, OFFSET FLAT:$SG8043
call DoDebugMsg
; 111 : EmitErr(CANNOT_OPEN_FILE, Options.names[ASM], ErrnoStr());
call ErrnoStr
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, rax
mov rdx, QWORD PTR [rdx+rcx]
mov ecx, 106 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/main.asm:10 | mov rcx, QWORD PTR pfn$[rsp]
sub rcx, rax
mov rax, rcx
mov DWORD PTR dirsize$[rsp], eax
; 119 : memcpy(fname, Options.names[ASM], dirsize);
movsxd rax, DWORD PTR dirsize$[rsp]
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, rax
mov rdx, QWORD PTR [rdx+rcx]
lea rcx, QWORD PTR fname$[rs... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/main.asm:11 | ; 127 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, QWORD PTR fh$[rsp]
call QWORD PTR __imp__findnext64i32
cmp eax, -1
jne SHORT $LN6@main
; 128 : _findclose(fh);
mov rcx, QWORD PTR fh$[rsp]
call QWORD PTR __imp__findclose
; 129 : #else
; 130 : rc = Assembl... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/main.asm:12 | lea rcx, OFFSET FLAT:$SG8047
call printf
; 137 : }
jmp SHORT $LN10@main
$LN9@main:
; 138 : else if (numFiles == 0)
cmp DWORD PTR numFiles$[rsp], 0
jne SHORT $LN11@main
; 139 : EmitError(NO_FILENAME_SPECIFIED);
mov ecx, 104 ; 00000068H
call EmitError
$LN11@main:
$LN10@main:
; 140 :
; 141 : #ifde... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/main.asm:13 | mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:main$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 768 ; 00000300H
pop rdi
ret 0
main ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/main.asm:14 | mov ecx, 168 ; 000000a8H
call EmitError
$LN2@genfailure:
; 57 : close_files();
call close_files
; 58 : exit( EXIT_FAILURE );
mov ecx, 1
call QWORD PTR __imp_exit
$LN3@genfailure:
; 59 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
genfailure ENDP
_TEXT ENDS
; Function compile flags: /Odtp /... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/main.asm:15 | mov rdi, rsp
mov ecx, 20
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+96]
; 951 : int _Result;
; 952 : va_list _ArgList;
; 953 : __crt_va_start(_ArgList, _Format);
lea rax, QWORD PTR _Format$[rsp+8]
mov QWORD PTR _ArgList$[rsp], rax
; 954 : _Result = _vfprintf_l(stdo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/main.asm:16 | pop rdi
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vfprintf_l
_TEXT SEGMENT
_Stream$ = 64
_Format$ = 72
_Locale$ = 80
_ArgList$ = 88
_vfprintf_l PROC ; COMDAT
; 638 : {
$LN3:
mov QWORD PTR [rsp+32... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/main.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/mangle.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10688 DB '_%s@%d', 00H
ORG $+1
$SG10695 DB '@%s@%u', 00H
_D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/mangle.asm:2 | $pdata$_vsnprintf_l DD imagerel $LN5
DD imagerel $LN5+117
DD imagerel $unwind$_vsnprintf_l
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsprintf_l DD imagerel $LN3
DD imagerel $LN3+66
DD imagerel $unwind$_vsprintf_l
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$sprintf DD imagerel $LN3
DD imagerel $LN3+79
DD ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/mangle.asm:3 | DD imagerel $unwind$StdcallMangler
pdata ENDS
xdata SEGMENT
$unwind$Mangle DD 010e01H
DD 0820eH
$unwind$ms32_decorate DD 010e01H
DD 0420eH
$unwind$ow_decorate DD 010e01H
DD 0620eH
$unwind$ms64_decorate DD 010e01H
DD 0420eH
$unwind$VoidMangler DD 010e01H
DD 0420eH
$unwind$UCaseMangler DD 010e01H
DD 0420eH
$unwind$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/mangle.asm:4 | buffer$ = 72
StdcallMangler PROC
; 103 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 104 : const struct dsym *dir = (struct dsym *)sym;
mov rax, QWORD PTR sym$[rsp]
mov QWORD PTR dir$[rsp], rax
; 105 :
; 106 : if( Options.stdcall_decoration == STDCALL_FUL... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/mangle.asm:5 | ; 108 : } else {
jmp SHORT $LN3@StdcallMan
$LN2@StdcallMan:
; 109 : return( UScoreMangler( sym, buffer ) );
mov rdx, QWORD PTR buffer$[rsp]
mov rcx, QWORD PTR sym$[rsp]
call UScoreMangler
$LN3@StdcallMan:
$LN1@StdcallMan:
; 110 : }
; 111 : }
add rsp, 56 ; 00000038H
ret 0
StdcallMangle... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/mangle.asm:6 | ; 94 : memcpy( buffer+1, sym->name, sym->name_size + 1 );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+80]
inc eax
cdqe
mov rcx, QWORD PTR buffer$[rsp]
inc rcx
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
call memcpy
; 95 : return( sym->name_size + 1 );
mov rax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/mangle.asm:7 | mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+80]
inc eax
cdqe
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR buffer$[rsp]
call memcpy
; 84 : _strupr( buffer );
mov rcx, QWORD PTR buffer$[rsp]
call _strupr
; 85 : return( sym->name_size );
mov ra... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/mangle.asm:8 | mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+80]
inc eax
cdqe
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR buffer$[rsp]
call memcpy
; 75 : return( sym->name_size );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+80]
; 76 : }
add rsp, 40 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/mangle.asm:9 | cdqe
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR buffer$[rsp]
call memcpy
; 177 : return( sym->name_size );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+80]
; 178 : }
add rsp, 40 ; 00000028H
ret 0
ms64_decorate ENDP
_TEXT ENDS
; Function compile... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/mangle.asm:10 | ; 141 : if( sym->isproc ) {
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+49]
shr al, 3
and al, 1
movzx eax, al
test eax, eax
je SHORT $LN4@ow_decorat
; 142 : changes |= USCORE_BACK;
mov eax, DWORD PTR changes$[rsp]
or eax, 2
mov DWORD PTR changes$[rsp], eax
; 143 : } else {
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/mangle.asm:11 | mov eax, DWORD PTR changes$[rsp]
or eax, 2
mov DWORD PTR changes$[rsp], eax
; 149 : break;
jmp SHORT $LN2@ow_decorat
$LN7@ow_decorat:
; 150 : default:
; 151 : changes |= USCORE_FRONT;
mov eax, DWORD PTR changes$[rsp]
or eax, 1
mov DWORD PTR changes$[rsp], eax
$LN2@ow_decorat... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/mangle.asm:12 | mov QWORD PTR name$[rsp], rax
$LN8@ow_decorat:
; 159 : memcpy( name, sym->name, sym->name_size + 1 );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+80]
inc eax
cdqe
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR name$[rsp]
call memcpy
; 160 : name +=... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/mangle.asm:13 | mov rax, QWORD PTR name$[rsp]
mov BYTE PTR [rax], 0
$LN9@ow_decorat:
; 164 : }
; 165 : return( name - buffer );
mov rax, QWORD PTR buffer$[rsp]
mov rcx, QWORD PTR name$[rsp]
sub rcx, rax
mov rax, rcx
; 166 : }
add rsp, 56 ; 00000038H
ret 0
ow_decorate ENDP
_TEXT ENDS
; Function compile flags: ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/mangle.asm:14 | mov rcx, QWORD PTR buffer$[rsp]
call sprintf
; 119 : }
add rsp, 40 ; 00000028H
ret 0
ms32_decorate ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\mangle.c
_TEXT SEGMENT
sym$ = 8
langtype$ = 16
mangle_type$ = 24
SetMangler PROC
; 255 : {
mov QWORD PTR [rsp+24],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/mangle.asm:15 | ; 263 : #if MANGLERSUPP
; 264 : mangler = GetMangler( mangle_type );
; 265 : if( mangler == NULL ) {
; 266 : /* nothing to do */
; 267 : } else if( sym->mangler == NULL ) {
; 268 : sym->mangler = mangler;
; 269 : } else if( sym->mangler != mangler ) {
; 270 : EmitErr( CON... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/mangle.asm:16 | mov eax, DWORD PTR tv65[rsp]
dec eax
mov DWORD PTR tv65[rsp], eax
cmp DWORD PTR tv65[rsp], 6
ja $LN9@Mangle
movsxd rax, DWORD PTR tv65[rsp]
lea rcx, OFFSET FLAT:__ImageBase
mov eax, DWORD PTR $LN15@Mangle[rcx+rax*4]
add rax, rcx
jmp rax
$LN4@Mangle:
; 216 : case LANG_C:
; 217 : /* leading unders... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/mangle.asm:17 | ; 222 : break;
jmp SHORT $LN2@Mangle
$LN6@Mangle:
; 223 : case LANG_STDCALL:
; 224 : mangler = ( Options.stdcall_decoration == STDCALL_NONE ) ? VoidMangler : StdcallMangler;
movzx eax, BYTE PTR Options+134
cmp eax, 1
jne SHORT $LN13@Mangle
lea rax, OFFSET FLAT:VoidMangler
mov QWORD PTR t... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/mangle.asm:18 | ; 232 : mangler = fcmanglers[ModuleInfo.fctype];
movsxd rax, DWORD PTR ModuleInfo+376
lea rcx, OFFSET FLAT:fcmanglers
mov rax, QWORD PTR [rcx+rax*8]
mov QWORD PTR mangler$[rsp], rax
; 233 : break;
jmp SHORT $LN2@Mangle
$LN9@Mangle:
; 234 : default: /* LANG_NONE */
; 235 : #if MANGLERSUP... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/mangle.asm:19 | npad 2
$LN15@Mangle:
DD $LN4@Mangle
DD $LN5@Mangle
DD $LN6@Mangle
DD $LN7@Mangle
DD $LN7@Mangle
DD $LN7@Mangle
DD $LN8@Mangle
Mangle ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT sprintf
_TEXT SEGMENT
_Result$ = 32
_ArgLis... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/mangle.asm:20 | ; 1783 : _Result = _vsprintf_l(_Buffer, _Format, NULL, _ArgList);
mov r9, QWORD PTR _ArgList$[rsp]
xor r8d, r8d
mov rdx, QWORD PTR _Format$[rsp]
mov rcx, QWORD PTR _Buffer$[rsp]
call _vsprintf_l
mov DWORD PTR _Result$[rsp], eax
; 1784 : #pragma warning(pop)
; 1785 :
; 1786 : __crt_va_end(_ArgList);
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/mangle.asm:21 | mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 1456 : #pragma warning(push)
; 1457 : #pragma warning(disable: 4996) // Deprecation
; 1458 : return _vsnprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList);
mov rax, QWORD PTR _ArgList$[rsp]
mov QWORD PTR [rsp+3... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/mangle.asm:22 | mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 72 ; 00000048H
; 1386 : int const _Result = __stdio_common_vsprintf(
call __local_stdio_printf_options
mov rax, QWORD PTR [rax]
or rax, 1
mov rcx, QWORD PTR _ArgList$[rsp]
mov QWORD PTR [rsp+40], rcx
mov rcx, Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 841 | 899 |
Terraspace/UASM:x64/Debug/mangle.asm:23 | _vsnprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\corecrt_stdio_config.h
; COMDAT __local_stdio_printf_options
_TEXT SEGMENT
__local_stdio_printf_options PROC ; COMDAT
; 74 : static unsigned __int64 _OptionsStorage;
; 75 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/mangle.asm | 881 | 899 |
Terraspace/UASM:x64/Debug/mangle.asm:4 | buffer$ = 72
StdcallMangler PROC
; 103 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 104 : const struct dsym *dir = (struct dsym *)sym;
mov rax, QWORD PTR sym$[rsp]
mov QWORD PTR dir$[rsp], rax
; 105 :
; 106 : if( Options.stdcall_decoration == STDCALL_FUL... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/mangle.asm:5 | ; 108 : } else {
jmp SHORT $LN3@StdcallMan
$LN2@StdcallMan:
; 109 : return( UScoreMangler( sym, buffer ) );
mov rdx, QWORD PTR buffer$[rsp]
mov rcx, QWORD PTR sym$[rsp]
call UScoreMangler
$LN3@StdcallMan:
$LN1@StdcallMan:
; 110 : }
; 111 : }
add rsp, 56 ; 00000038H
ret 0
StdcallMangle... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/mangle.asm:6 | ; 94 : memcpy( buffer+1, sym->name, sym->name_size + 1 );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+72]
inc eax
cdqe
mov rcx, QWORD PTR buffer$[rsp]
inc rcx
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
call memcpy
; 95 : return( sym->name_size + 1 );
mov rax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/mangle.asm:7 | mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+72]
inc eax
cdqe
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR buffer$[rsp]
call memcpy
; 84 : _strupr( buffer );
mov rcx, QWORD PTR buffer$[rsp]
call _strupr
; 85 : return( sym->name_size );
mov ra... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/mangle.asm:8 | mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+72]
inc eax
cdqe
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR buffer$[rsp]
call memcpy
; 75 : return( sym->name_size );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+72]
; 76 : }
add rsp, 40 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/mangle.asm:9 | cdqe
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR buffer$[rsp]
call memcpy
; 177 : return( sym->name_size );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+72]
; 178 : }
add rsp, 40 ; 00000028H
ret 0
ms64_decorate ENDP
_TEXT ENDS
; Function compile... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/mangle.asm:10 | ; 141 : if( sym->isproc ) {
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+41]
shr al, 3
and al, 1
movzx eax, al
test eax, eax
je SHORT $LN4@ow_decorat
; 142 : changes |= USCORE_BACK;
mov eax, DWORD PTR changes$[rsp]
or eax, 2
mov DWORD PTR changes$[rsp], eax
; 143 : } else {
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/mangle.asm:11 | mov eax, DWORD PTR changes$[rsp]
or eax, 2
mov DWORD PTR changes$[rsp], eax
; 149 : break;
jmp SHORT $LN2@ow_decorat
$LN7@ow_decorat:
; 150 : default:
; 151 : changes |= USCORE_FRONT;
mov eax, DWORD PTR changes$[rsp]
or eax, 1
mov DWORD PTR changes$[rsp], eax
$LN2@ow_decorat... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/mangle.asm:12 | mov QWORD PTR name$[rsp], rax
$LN8@ow_decorat:
; 159 : memcpy( name, sym->name, sym->name_size + 1 );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+72]
inc eax
cdqe
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR name$[rsp]
call memcpy
; 160 : name +=... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/mangle.asm:13 | mov rax, QWORD PTR name$[rsp]
mov BYTE PTR [rax], 0
$LN9@ow_decorat:
; 164 : }
; 165 : return( name - buffer );
mov rax, QWORD PTR buffer$[rsp]
mov rcx, QWORD PTR name$[rsp]
sub rcx, rax
mov rax, rcx
; 166 : }
add rsp, 56 ; 00000038H
ret 0
ow_decorate ENDP
_TEXT ENDS
; Function compile flags: ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/mangle.asm:14 | mov rcx, QWORD PTR buffer$[rsp]
call sprintf
; 119 : }
add rsp, 40 ; 00000028H
ret 0
ms32_decorate ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\mangle.c
_TEXT SEGMENT
sym$ = 8
langtype$ = 16
mangle_type$ = 24
SetMangler PROC
; 255 : {
mov QWORD PTR [rsp+24],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/mangle.asm:15 | ; 263 : #if MANGLERSUPP
; 264 : mangler = GetMangler( mangle_type );
; 265 : if( mangler == NULL ) {
; 266 : /* nothing to do */
; 267 : } else if( sym->mangler == NULL ) {
; 268 : sym->mangler = mangler;
; 269 : } else if( sym->mangler != mangler ) {
; 270 : EmitErr( CON... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/mangle.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/mangle.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10650 DB '_%s@%d', 00H
ORG $+1
$SG10657 DB '@%s@%u', 00H
_D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/mangle.asm:2 | _DATA ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$__local_stdio_printf_options DD imagerel $LN3
DD imagerel $LN3+11
DD imagerel $unwind$__local_stdio_printf_options
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsnprintf_l DD imagerel $LN5
DD imagerel $LN5+140
DD imagerel $unwind$_vsnprintf_l
pdata ENDS
; COMDAT pda... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/mangle.asm:3 | DD imagerel $unwind$ms64_decorate
$pdata$VoidMangler DD imagerel VoidMangler
DD imagerel VoidMangler+85
DD imagerel $unwind$VoidMangler
$pdata$UCaseMangler DD imagerel UCaseMangler
DD imagerel UCaseMangler+96
DD imagerel $unwind$UCaseMangler
$pdata$UScoreMangler DD imagerel UScoreMangler
DD imagerel UScoreMangler+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/mangle.asm:4 | DD 0700b520fH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$sprintf DD 022d01H
DD 070159219H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
sprintf$rtcName$0 DB 05fH
DB 041H
DB 072H
DB 067H
DB 04cH
DB 069H
DB 073H
DB 074H
DB 00H
ORG $+7
sprintf$rtcVarDesc DD 038H
DD 08H
DQ FLAT:sprintf$rtcName$0
ORG $+48
sprint... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/mangle.asm:5 | DD 07002H
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\mangle.c
_TEXT SEGMENT
dir$ = 32
sym$ = 64
buffer$ = 72
StdcallMangler PROC
; 103 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/mangle.asm:6 | ; 107 : return( sprintf( buffer, "_%s@%d", sym->name, dir->e.procinfo->parasize ) );
mov rax, QWORD PTR dir$[rsp]
mov rax, QWORD PTR [rax+96]
mov r9d, DWORD PTR [rax+32]
mov rax, QWORD PTR sym$[rsp]
mov r8, QWORD PTR [rax+8]
lea rdx, OFFSET FLAT:$SG10650
mov rcx, QWORD PTR buffer$[rsp]
call sprintf
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/mangle.asm:7 | ; 92 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 32 ; 00000020H
mov rdi, rsp
mov ecx, 8
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+48]
; 93 : buffer[0] = '_';
mov eax, 1
imul rax, rax, 0
mov rcx, QWORD PTR buffer$[rsp]
mov BYTE PTR [... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/mangle.asm:8 | add rsp, 32 ; 00000020H
pop rdi
ret 0
UScoreMangler ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\mangle.c
_TEXT SEGMENT
sym$ = 48
buffer$ = 56
UCaseMangler PROC
; 82 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 32 ;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/mangle.asm:9 | call QWORD PTR __imp__strupr
; 85 : return( sym->name_size );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+72]
; 86 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
UCaseMangler ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\mangle.c
_TEXT SEGM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/mangle.asm:10 | mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR buffer$[rsp]
call memcpy
; 75 : return( sym->name_size );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+72]
; 76 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
VoidMangler ENDP
_TEXT ENDS
; Function compile flags: /Odt... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/mangle.asm:11 | inc eax
cdqe
mov r8, rax
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR buffer$[rsp]
call memcpy
; 177 : return( sym->name_size );
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+72]
; 178 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
ms64_decorate ENDP
_TEXT ENDS
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/mangle.asm:12 | mov rcx, QWORD PTR [rsp+64]
; 138 : char *name;
; 139 : enum changes changes = NORMAL;
mov DWORD PTR changes$[rsp], 0
; 140 :
; 141 : if( sym->isproc ) {
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+41]
shr al, 3
and al, 1
movzx eax, al
test eax, eax
je SHORT $... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/mangle.asm:13 | jmp SHORT $LN7@ow_decorat
$LN6@ow_decorat:
; 145 : case MT_NEAR:
; 146 : case MT_FAR:
; 147 : case MT_EMPTY:
; 148 : changes |= USCORE_BACK;
mov eax, DWORD PTR changes$[rsp]
or eax, 2
mov DWORD PTR changes$[rsp], eax
; 149 : break;
jmp SHORT $LN2@ow_decorat
$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/mangle.asm:14 | je SHORT $LN8@ow_decorat
; 158 : *name++ = '_';
mov rax, QWORD PTR name$[rsp]
mov BYTE PTR [rax], 95 ; 0000005fH
mov rax, QWORD PTR name$[rsp]
inc rax
mov QWORD PTR name$[rsp], rax
$LN8@ow_decorat:
; 159 : memcpy( name, sym->name, sym->name_size + 1 );
mov rax, QWORD PTR sym$[rsp]
movzx eax, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/mangle.asm:15 | mov rax, QWORD PTR name$[rsp]
mov BYTE PTR [rax], 95 ; 0000005fH
mov rax, QWORD PTR name$[rsp]
inc rax
mov QWORD PTR name$[rsp], rax
; 163 : *name = NULLC;
mov rax, QWORD PTR name$[rsp]
mov BYTE PTR [rax], 0
$LN9@ow_decorat:
; 164 : }
; 165 : return( name - buffer );
mov rax, QWORD PTR b... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/mangle.asm:16 | sub rsp, 32 ; 00000020H
mov rdi, rsp
mov ecx, 8
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+48]
; 118 : return ( sprintf( buffer, "@%s@%u", sym->name, ((struct dsym *)sym)->e.procinfo->parasize ) );
mov rax, QWORD PTR sym$[rsp]
mov rax, QWORD PTR [rax+96]
mov r9d, DWORD PTR [... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/mangle.asm:17 | ; 256 : #if MANGLERSUPP
; 257 : mangle_func mangler;
; 258 : #endif
; 259 :
; 260 : if( langtype != LANG_NONE )
cmp DWORD PTR langtype$[rsp], 0
je SHORT $LN2@SetMangler
; 261 : sym->langtype = langtype;
mov rax, QWORD PTR sym$[rsp]
mov ecx, DWORD PTR langtype$[rsp]
mov DWORD PTR [rax+76], ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/mangle.asm:18 | tv71 = 56
sym$ = 80
buffer$ = 88
Mangle PROC
; 212 : {
$LN16:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 64 ; 00000040H
mov rdi, rsp
mov ecx, 16
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+80]
; 213 : mangle_func mangler;
; 214 :
; 215 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/mangle.asm:19 | movzx eax, BYTE PTR Options+133
test eax, eax
je SHORT $LN11@Mangle
lea rax, OFFSET FLAT:VoidMangler
mov QWORD PTR tv68[rsp], rax
jmp SHORT $LN12@Mangle
$LN11@Mangle:
lea rax, OFFSET FLAT:UScoreMangler
mov QWORD PTR tv68[rsp], rax
$LN12@Mangle:
mov rax, QWORD PTR tv68[rsp]
mov QWORD PTR mangler$[rsp], rax
; 2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/mangle.asm:20 | lea rax, OFFSET FLAT:StdcallMangler
mov QWORD PTR tv71[rsp], rax
$LN14@Mangle:
mov rax, QWORD PTR tv71[rsp]
mov QWORD PTR mangler$[rsp], rax
; 225 : break;
jmp SHORT $LN2@Mangle
$LN7@Mangle:
; 226 : case LANG_PASCAL:
; 227 : case LANG_FORTRAN:
; 228 : case LANG_BASIC:
; 229 : man... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/mangle.asm:21 | ; 237 : if( mangler == NULL )
; 238 : mangler = GetMangler( Options.default_name_mangler );
; 239 : if( mangler == NULL )
; 240 : #endif
; 241 : mangler = VoidMangler;
lea rax, OFFSET FLAT:VoidMangler
mov QWORD PTR mangler$[rsp], rax
$LN2@Mangle:
; 242 : break;
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/mangle.asm:22 | _Result$ = 32
_ArgList$ = 56
_Buffer$ = 96
_Format$ = 104
sprintf PROC ; COMDAT
; 1776 : {
$LN3:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
push rdi
sub rsp, 80 ; 00000050H
mov rdi, rsp
mov ecx, 20
mov eax, -858993460 ; ccccccccH
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/mangle.asm:23 | ; 1784 : #pragma warning(pop)
; 1785 :
; 1786 : __crt_va_end(_ArgList);
mov QWORD PTR _ArgList$[rsp], 0
; 1787 : return _Result;
mov eax, DWORD PTR _Result$[rsp]
; 1788 : }
mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:sprintf$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
add rsp, 80 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/mangle.asm:24 | sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 1456 : #pragma warning(push)
; 1457 : #pragma warning(disable: 4996) // Deprecation
; 1458 : return _vsnprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList);
mov rax, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/mangle.asm:25 | ; 1385 : {
$LN5:
mov QWORD PTR [rsp+32], r9
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 64 ; 00000040H
mov rdi, rsp
mov ecx, 16
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+80]
; 1386 : int const _Result = __stdio_commo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/mangle.asm:26 | $LN3@vsnprintf_:
mov eax, DWORD PTR _Result$[rsp]
mov DWORD PTR tv74[rsp], eax
$LN4@vsnprintf_:
mov eax, DWORD PTR tv74[rsp]
; 1391 : }
add rsp, 64 ; 00000040H
pop rdi
ret 0
_vsnprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/mangle.asm | 1,001 | 1,036 |
Terraspace/UASM:x64/Debug/mangle.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10649 DB '_%s@%d', 00H
ORG $+1
$SG10656 DB '@%s@%u', 00H
_DATA ENDS
CONST SEGMEN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/mangle.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/mangle.asm:2 | ; COMDAT pdata
pdata SEGMENT
$pdata$__local_stdio_printf_options DD imagerel $LN3
DD imagerel $LN3+11
DD imagerel $unwind$__local_stdio_printf_options
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsnprintf_l DD imagerel $LN5
DD imagerel $LN5+140
DD imagerel $unwind$_vsnprintf_l
pdata ENDS
; COMDAT pdata
pdata SE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/mangle.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/mangle.asm:3 | $pdata$VoidMangler DD imagerel VoidMangler
DD imagerel VoidMangler+85
DD imagerel $unwind$VoidMangler
$pdata$UCaseMangler DD imagerel UCaseMangler
DD imagerel UCaseMangler+96
DD imagerel $unwind$UCaseMangler
$pdata$UScoreMangler DD imagerel UScoreMangler
DD imagerel UScoreMangler+108
DD imagerel $unwind$UScoreMan... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/mangle.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/mangle.asm:4 | xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$sprintf DD 022d01H
DD 070159219H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
sprintf$rtcName$0 DB 05fH
DB 041H
DB 072H
DB 067H
DB 04cH
DB 069H
DB 073H
DB 074H
DB 00H
ORG $+7
sprintf$rtcVarDesc DD 038H
DD 08H
DQ FLAT:sprintf$rtcName$0
ORG $+48
sprintf$rtcFrameData... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/mangle.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/mangle.asm:5 | xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\mangle.c
_TEXT SEGMENT
dir$ = 32
sym$ = 64
buffer$ = 72
StdcallMangler PROC
; 103 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -85... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/mangle.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/mangle.asm:6 | ; 107 : return( sprintf( buffer, "_%s@%d", sym->name, dir->e.procinfo->parasize ) );
mov rax, QWORD PTR dir$[rsp]
mov rax, QWORD PTR [rax+96]
mov r9d, DWORD PTR [rax+32]
mov rax, QWORD PTR sym$[rsp]
mov r8, QWORD PTR [rax+8]
lea rdx, OFFSET FLAT:$SG10649
mov rcx, QWORD PTR buffer$[rsp]
call sprintf
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/mangle.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/mangle.asm | 201 | 260 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.