This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// お題 | |
// http://togetter.com/li/92612 | |
// FizzBuzzを30バイトで | |
// my code | |
// 1. | |
//main(_){printf(_%15?_%3?_%5?"%d\n":"Buzz\n":"Fizz\n":"FizzBuzz\n",_);main(++_);} | |
// 80bytes | |
// 2. | |
main(_){printf(_%3?_%5?"%d":0:"Fizz",_);puts(_%5?"":"Buzz");main(++_);} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kd> .for(r $t0=0; @$t0<dwo(nt!KiServiceLimit); r $t0=@$t0+1){.printf "%y\n", nt!KiServiceTable+(dwo(nt!KiServiceTable+@$t0*4)>>4)} | |
fffff801`85aa38c4 | |
fffff801`85b3cc10 | |
nt!NtAcceptConnectPort (fffff801`75f238ac) | |
nt!NtMapUserPhysicalPagesScatter (fffff801`760afb54) | |
nt!NtWaitForSingleObject (fffff801`75e52d20) | |
fffff801`85ba51a0 | |
nt!NtReadFile (fffff801`75eb42f0) | |
nt!NtDeviceIoControlFile (fffff801`75e56740) | |
nt!NtWriteFile (fffff801`75e9e770) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64>livekd.exe | |
LiveKd v5.31 - Execute kd/windbg on a live system | |
Sysinternals - www.sysinternals.com | |
Copyright (C) 2000-2013 Mark Russinovich and Ken Johnson | |
Launching C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\kd.exe: | |
Microsoft (R) Windows Debugger Version 6.3.9600.17237 AMD64 | |
Copyright (c) Microsoft Corporation. All rights reserved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft (R) COFF/PE Dumper Version 12.00.30501.0 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Dump of file C:\Users\Administrator\Desktop\win32k.sys | |
File Type: EXECUTABLE IMAGE | |
Section contains the following exports for WIN32K.SYS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft (R) COFF/PE Dumper Version 12.00.30501.0 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Dump of file C:\Users\Administrator\Desktop\ntoskrnl.exe | |
File Type: EXECUTABLE IMAGE | |
Section contains the following exports for ntoskrnl.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft (R) COFF/PE Dumper Version 12.00.30501.0 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Dump of file C:\Users\Administrator\Desktop\ntdll.dll | |
File Type: DLL | |
Section contains the following exports for ntdll.dll |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n;f;i;main(){scanf("%d",&n);printf("%d ",n);if(n<=1)f=1;for(i=2;++i<=n/2;){if(n%i==0)f=1;break;}printf((f==0)?"is a prime number":"is not a prime number");} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!for_each_module !chkimg @#ModuleName -d | |
u [addr] | |
!address [jmp dest addr] | |
s -a [base addr] L?[end addr]/4 "MZ" | |
!dh -a [base addr] | |
.writemem [file] [base addr] [end addr] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme", | |
"draw_white_space": "all", | |
"fallback_encoding": "UTF-8", | |
"font_face": "Migu 2M", | |
"font_size": 11, | |
"highlight_line": true, | |
"wrap_width": 120, | |
"rulers": [120], | |
"show_encoding": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
06 push es 独立語 | |
07 pop es 独立語 | |
0え push cs 独立語 | |
16 push ss 独立語 | |
17 pop ss 独立語 | |
1え push ds 独立語 | |
1f pop ds 独立語 | |
27 daa 独立語 | |
2f das 独立語 | |
37 aaa 独立語 |