¥È¥Ã¥× «Á°¤ÎÆüµ­(2007-02-13) ºÇ¿· ¼¡¤ÎÆüµ­(2007-02-15)» ÊÔ½¸

¤Ï¤¸¤á¤Æ¤Î¤Ë¤­

¤³¤³¤Î°ÌÃÖÉÕ¤±

2004|11|
2005|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|04|05|06|07|08|09|10|11|

ToDo:


2007-02-14

_ ºÇÂç°Ê³°

Âè°ì¥Õ¥©¥ë¥Þ¥ó¥È¤«¤éÂèÆó¥Õ¥©¥ë¥Þ¥ó¥È¤Ë¸þ¤±¤Æ¼Í·â¤È¤« ¤À¤È¤â¤¦¤É¤¦¤·¤è¤¦¤â¤Ê¤¯Æñ¤·¤¤¤À¤í¤¦¤Ê¤¡¡£ À¼Í¥¤Î·±Îý¤Ë¤Ê¤ê¤½¤¦¤Ê

(09:24)

_ ¤¦¤¢¡¼

irb(main):001:0> disasm("\x58\x5a\x59\x31\xdb\x31\xc0\xb0\x04\x80\x31\x20\x34\x07\x89\xc5\xcd\x80\x30\xd3\x95\x85\xed\x75\xf0")

/tmp/irb_disasm22831.0:     ¥Õ¥¡¥¤¥ë·Á¼° binary

¥»¥¯¥·¥ç¥ó .data ¤ÎµÕ¥¢¥»¥ó¥Ö¥ë:

0000000000000000 <.data>:
   0:   58                      pop    %eax
   1:   5a                      pop    %edx
   2:   59                      pop    %ecx
   3:   31 db                   xor    %ebx,%ebx
   5:   31 c0                   xor    %eax,%eax
   7:   b0 04                   mov    $0x4,%al
   9:   80 31 20                xorb   $0x20,(%ecx)
   c:   34 07                   xor    $0x7,%al
   e:   89 c5                   mov    %eax,%ebp
  10:   cd 80                   int    $0x80
  12:   30 d3                   xor    %dl,%bl
  14:   95                      xchg   %eax,%ebp
  15:   85 ed                   test   %ebp,%ebp
  17:   75 f0                   jne    0x9

¤Ê¤ó¤«¤¹¤´¤¤¥³¡¼¥É¤À¤Ê¡¼¥Ç¥Ð¥Ã¥¬¤Ç½ª¤ï¤ó¤È¤ï¤«¤é¤ó¡£

¤³¤ì¤À¤«¤é k* ¤Ï¡£

¤Ç¤â¤¿¤Ö¤óû¤¯¤Ê¤ê¤½¤¦¤Ê

  • EAX¤Ë¥´¥ßÆþ¤ë
  • EDX¤Ë1
  • ECX¤Ë¥¹¥¿¥Ã¥¯Îΰè¤Î¥Ý¥¤¥ó¥¿
  • EBX¤ò¥¼¥í (STDIN)
  • EAX¤ò¥¯¥ê¥¢
  • EAX¤Ë4 (read)
  • ECX¤Ë ^32
  • EAX¤Ë ^7 (¤³¤ì¤Ç3, write)
  • EAX=>EBP
  • ¥·¥¹¥Æ¥à¥³¡¼¥ë
  • BL^=DL (BL¤ÏSTDIN/OUT¤Ç¥Õ¥ê¥Ã¥×)
  • EAX¤ÈEBP¸ò´¹¤·¤Æ¤«¤éEBP¤Î½ªÎ»¥Á¥§¥Ã¥¯¤·¤Ä¤Ä¤·¤Ê¤±¤ì¤Ð¥ë¡¼¥×

¤È¤ê¤¢¤¨¤º¥ì¥¸¥¹¥¿¤Î½é´ü²½Éôʬ¤Ï¤¦¤Á¤Î´Ä¶­¤Ë°Í¸¤¹¤ì¤Ð û¤¯¤Ê¤ê¤½¤¦¤Ê¡£ ¤Ä¡¼¤Î¤Ï EDX ºÇ½é¤«¤é 1 Æþ¤Ã¤Æ¤ä¤¬¤ë¤ß¤¿¤¤¤À¤«¤é pop EAX; pop EAX ¤È¤«¤Ç»Ï¤á¤ì¤Ð xor EAX, EAX ¤Ï ¤¤¤é¤ó¤è¤¦¤Ê¡£ ¤¢¤ÈÃÏÆ»¤Ë pop ¤¹¤ë¤è¤ê popa ¤·¤Á¤ã¤¦¤È ¥ì¥¸¥¹¥¿¤¬³ä¤ÈåºÎï¤Ë¤Ê¤ë¤È¤¤¤¦Èá»´¤Ê¥ï¥¶¤¬¤¢¤ë¤È¤«¡£

zlib ¤â¤½¤¦¤À¤±¤É¥Ð¥¤¥Ê¥êËä¤á¹þ¤ß¤Ï ¾¥é¥ó¥­¥ó¥°¤âÍÑ°Õ¤·¤¿¤¤¤Ê¡¼¡£ ¤³¤ì¤Ï¤³¤ì¤Ç¤¹¤´¤¤¤Î¤Ë¡¢º®¤¸¤ë¤³¤È¤Ë¤è¤Ã¤Æ ÁÐÊý¤Îɾ²Á¤¬Å¬Àڤˤ·¤Ë¤¯¤¯¤Ê¤ëµ¤¤¬¤¹¤ë¡£ Python ¤È Ruby ¤ò¶¦Ä̤ÎÅÀ¿ôɾ²Á¤Ë¾è¤»¤ë¤è¤¦¤Ê´¶¤¸¡£

(09:50)

_ permutater

sed¤Ç²ò¤±¤ëµ¤¤¬¤·¤Æ¤Ê¤é¤Ê¤¤

(09:57)

_ ¥ì¥¤¥×¤¹¤ì¤ÐµÒ¤â¼Ö¤Î¤¦¤Á

¤È¤¤¤¦¸Á¤¬¥¢¥á¥ê¥«¤Ë¤¢¤ë¡¢¤È¤¤¤¦Ì´¤ò¸«¤¿¡£

¥¢¥á¥ê¥«¤Î¥Ð¥¹¤Ï¥¬¥ó¥¬¥ó¤Ö¤Ä¤«¤ë¤È¤¤¤¦¤³¤È¤ò»Ø¤·¤Æ¡¢ ¥Ð¥¹µÒ¤â¤½¤ó¤Ê´¶¤¸¤Ê¤é¼Ö¤ÎÃç´ÖÆþ¤ê¤µ (¤³¤Î¤Ø¤óÌ´¤À¤±¤Ë°ÕÌ£¤¬¤ï¤«¤é¤ó) ¤È¤«¤¤¤¦Ïäòʹ¤­¤Ê¤¬¤é¡¢ ÆüËܤǤϥª¥«¥Þ·¡¤ë¤Ã¤Æ¸À¤¦¤è¤Ê¡¼¤È¤« »×¤¤¤Ê¤¬¤éʹ¤¤¤Æ¤¤¤¿¤Î¤Ç¤¢¤Ã¤¿¡£

(10:12)

_ nop

¥×¥ì¥Õ¥£¥¯¥¹¤«¤È»×¤¤¹þ¤ó¤Ç¤¿¤é°ã¤¦¤Î¤À¤Ã¤¿

#define GENERIC_NOP1    ".byte 0x90\n"
#define GENERIC_NOP2            ".byte 0x89,0xf6\n"
#define GENERIC_NOP3        ".byte 0x8d,0x76,0x00\n"
#define GENERIC_NOP4        ".byte 0x8d,0x74,0x26,0x00\n"
#define GENERIC_NOP5        GENERIC_NOP1 GENERIC_NOP4
#define GENERIC_NOP6    ".byte 0x8d,0xb6,0x00,0x00,0x00,0x00\n"
#define GENERIC_NOP7    ".byte 0x8d,0xb4,0x26,0x00,0x00,0x00,0x00\n"
#define GENERIC_NOP8    GENERIC_NOP1 GENERIC_NOP7

nop, mov, lea, lea, xxx, lea, lea 5B ¤Ï¥Û¥ó¥È¤Ë̵¤¤¤Î¤«¤Ê¡£

(13:22)

_ statistics

¼ÂÁõ¤è¤ê±Ñ¸ì½ñ¤¤¤Æ¤ë¤Î¤¬¤¦¤¶¤¯¤Ê¤Ã¤ÆÅÓÃæ¤Ç¤ä¤ëµ¤¼º¤»¤¿¡£

¤Ä¤Þ¤ê¥Ð¥¤¥Ê¥ê¤Î¥µ¥¤¥º¤Ï¥Ç¥Õ¥©¤Ç¸ø³«¡¢ ¤¢¤È¤Ê¤ó¤«¥·¥ó¥Ü¥ë¥´¥ë¥Õ¤È¤«¤·¤¿¾ì¹ç¤Ï¡¢ ̾Á°ÊѤ¨¤Æ¤«¤Ä statistics ¤ò¸ø³«¤¹¤ì¤Ð Alnum̵¤¤¤ó¤À¤¼¡¼¤È¤«¥¢¥Ô¡¼¥ë¤Ç¤­¤ë¤è¡¢¤È¡£

(14:41)

_ ¤Û¤²¡¼

shinh ¤Ã¤Æ SHINicHiro.h ¤Ê¤ó¤À¤è¡ª¤È¤« ¤¤¤¦¥¨¥¤¥×¥ê¥ë¥Õ¡¼¥ë¥Í¥¿¤ò¹Í¤¨¤¿¤±¤É Á´Á³¥Í¥¿¤Ë¤Ê¤Ã¤Æ¤Ê¤¤¤· ±³¤«¤É¤¦¤«¤âÄ꤫¤Ç¤Ï¤Ê¤¤

(14:47)

_ OCaml

¥´¥ë¥ÕºÇ¼å¸À¸ì¤Îͽ´¶¤¬¤¿¤Þ¤é¤Ê¤¤

(20:30)

_ 417

< HTTP/1.1 417 Expectation Failed
< Connection: close
< Content-Length: 0
< Date: Wed, 14 Feb 2007 13:17:56 GMT
< Server: lighttpd/1.4.13

¤Ê¤ó¤À¤³¤ì¤Ï¡ª

(22:18)

_ ¤½¤ì¥Í¥¿¥Ð¥ì°ã¤¦

¤ï¤é¤¿

http://www.kmonos.net/wlog/70.html#_1759070214

¤½¤ì¤Ï¤È¤â¤«¤¯¡¢¤³¤ì¸«¤Æ»×¤¤½Ð¤·¤¿¤Î¤Ç³Æ¸À¸ì¤ä Sample input ¤Ø¤Î¥ê¥ó¥¯¤òÄɲ䷤Ƥª¤­¤Þ¤·¤¿¡£

¤¢¤È all expression ¥¿¥¤¥à¥¢¥¦¥È¤ÇÄ̤é¤Ê¤¤¤Ê¡¼¤È¤¤¤¦ Èᤷ¤µ¤¬»ä¤Î¶á¶·

(22:48)

¤ªÌ¾Á°:
E-mail:
¥³¥á¥ó¥È:
¿ÍÀ¸¡¢±§Ãè¡¢¤¹¤Ù¤Æ¤ÎÅú¤¨
ËÜÆü¤Î¥ê¥ó¥¯¸µ

Á° 2007ǯ
2·î
¼¡
Æü ·î ²Ð ¿å ÌÚ ¶â ÅÚ
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28
1.shinh(2016-10-11 02:13) 2.sumim(2016-10-11 02:13) 3.ySas(2016-10-11 02:13)
search / home / index

Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ­¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£

shinichiro.hamaji _at_ gmail.com / shinichiro.h