TGTGInsighttelegram intelligenceLIVE / telegram public index
← Welcome to the Black Parade
Welcome to the Black Parade avatar

TGINSIGHT POST

Post #399

@TheB1ackParade

Welcome to the Black Parade

Views225Post view count
PostedSep 1209/12/2023, 03:26 PM
Post content

Post content

给大家推荐一个弱智方法用来检查汇编的机器码。比如我想知道 incq %gs:0x10(%rcx) 被编成了啥,就可以运行 echo 'int main() { asm("incq %gs:0x10(%rcx)"); }' | gcc -xc - && gdb -q -ex 'disas/r main' -ex q ./a.out ,结果乳头。