¥È¥Ã¥× «Á°¤ÎÆüµ­(2006-08-13) ºÇ¿· ¼¡¤ÎÆüµ­(2006-08-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:


2006-08-14

_ busybox

¤¬¥Í¥¿¤Ï´û¤Ë¤ä¤Ã¤Æ¤ë´¶¤¸¡£

pseudo_exec¤È¤«

(09:08)

_ ¤½¤¦¤«ÄäÅŤ«

¤Ê¤ë¤Û¤É

(10:24)

_ ¤Þ¤¡

²½Êª¤Ë¾¡¤Ä¤Ë¤Ï¡Ä¤È¤«¤Ï¾éÃ̤Ȥ¤¤¦¤« Ê̤˾¡¤Á¤¿¤¤¤È¤â»×¤ï¤Ê¤¤¤Î¤À¤±¤É¡¢ °ìÊýŪ¤Ë¤³¤Ã¤Á¤Î take ¤À¤±¤¬¤¢¤ë¤À¤±¤Î¾õÂ֤ߤ¿¤¤¤Ê ¤³¤È¤Ë¤Ê¤Ã¤Á¤ã¤¦¤È¡¢ ¤½¤ì¤Ï¤Þ¤¡¤¿¤Ö¤ó take ¤â¾Ã¤¨¤ë¤ï¤±¤Ç¡¢ ²¾¤Ë¾Ã¤¨¤Ê¤¤¤È¤·¤Æ¤âÈᤷ¤¤¤·¡£

¤Þ¤¡¶ñÂÎŪ¤Ë¤ÏËͤȤۤ²¤Û¤²¤Ê¿Í¤Î´Ø·¸¤Ë ¤½¤ÎµÕ¤ò¸«¤ë¤ó¤À¤±¤É¤½¤ì¤Ï¤¤¤¤¤È¤·¤Æ¡£

¤È¤¤¤¦¤ï¤±¤ÇÉôʬŪ¤Ë¤Ç¤â¤Ê¤ó¤« ÅÁ¤¨¤é¤ì¤ë¤â¤Î¤¬¤¢¤ë¾õÂÖ¤ò°Ý»ý¤·¤¿¤¤ ¤È¤¤¤¦ÄøÅ٤Τ³¤È¤Ï°Õ¼±¤·¤è¤¦¡¢¤È¤¤¤¦¤«¡£

(11:06)

_ ʬ´ôͽ¬

__builtin_expect ¡£ ¤³¤Î´Ø¿ô¤Î¤Ê¤ó¤«¤Û¤²¤Û¤²¤Ê¤È¤³¤í¤Ï¡¢ 1/2¤Î³ÎΨ¤Ç»È¤Ã¤¿¤Ë¤â´Ø¤ï¤é¤ºÆ±¤¸¥³¡¼¥É¤¬À¸À®¤µ¤ì¤ë ¤³¤È¤¸¤ã¤Ê¤¤¤«¤Ê¤È¡£ ARM ¤À¤È¤³¤¤¤¦¾ðÊó¤Ï¤«¤Ê¤êÍ­¸ú¤Ë¤Ä¤«¤¨¤¿¤ê¤¹¤ë¤ó¤«¤Ê¤¡¡£

¤¢¤ÈÊØÍø¤É¤³¤í¤Ï __builtin_(frame|return)_address ¤È¤«¡£

(11:35)

_ ¤á¤â

#include <stdio.h>

void p(const char *s, ...) {
    void *d = __builtin_apply_args();
    void *r = __builtin_apply(&printf, d, 12);
    __builtin_return(r);
}

int main() {
    p("%d %d\n", 1, 2);
}
int main() {
    void *ptr = malloc(5);
    int x;
    printf("%d\n", __builtin_object_size(ptr, 0));
    printf("%d\n", __builtin_object_size(&x, 0));
    printf("%d\n", __builtin_object_size(0, 0));
}

(11:46)

_ ¤Þ¤¸¤Ç

http://www.tietew.jp/cppll/archive/12749

printf("hoge\n"); ¤¬ puts("hoge"); ¤Ë²½¤±¤ë¤Î¤Ï ÃΤäƤ¿¤±¤É¡Ä

(11:51)

_ ¼ºÇÔ¤·¤¿¡Ä

¤Þ¤¿ tDiary ¤¬¥í¥Ã¥¯Î¥¤µ¤Ê¤¤¸½¾Ý¤¬µ¯¤­¤Æ¤¿¤Î¤Ë¥Á¥§¥Ã¥¯¤Ç¤­¤º¡Ä

¤¦¤¼¤¨

¤¦¤¼¤¨¤È¸À¤¨¤ÐÀ¼¤¬Á´¤¯½Ð¤Ê¤¤¡£

(23:20)

_ ¤Ê¤ó¤«¤¤¤«¤Ë¤â

tDiary ¤Î flock ¤Î¤·¤«¤¿ÊѤï¤Ã¤Æ¤ë¤Ê¤¡¡Ä ¤á¤ó¤É¤¤¡£

(23:31)

_ ¤Û¤²

(23:46)

_ ¤Ä¡¼¤ï¤±¤Ç

tDiary ¤Î¥Ð¡¼¥¸¥ç¥ó¾å¤²¤È¤¤¤¿¡£¤¦¤¼¤¨

(23:47)

_ ¤¢¡¼

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´1·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]
_ shinh (2014-05-24 01:15)

¥¨¥é¡¼½Ð¤ë¡©

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

Á° 2006ǯ
8·î
¼¡
Æü ·î ²Ð ¿å ÌÚ ¶â ÅÚ
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 29 30 31
1.shinh(2014-05-24 01:15) 2.shinh(2014-05-24 01:15) 3.Gus(2014-05-24 01:15)
search / home / index

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

shinichiro.hamaji _at_ gmail.com / shinichiro.h