File: issuephp2.c

package info (click to toggle)
chibicc 1.0.23.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,832 kB
  • sloc: ansic: 62,911; sh: 275; makefile: 92
file content (23 lines) | stat: -rw-r--r-- 464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "test.h"

asm(".pushsection \".test_section\", \"a\"\n"
    ".ascii \"hello world\\n\"\n"
    ".popsection\n");
    

asm(".pushsection \".debug_gdb_scripts\", \"MS\",%progbits,1\n"
  ".byte 4\n"
  ".ascii \"gdb.inlined-script\\n\"\n"
  ".ascii \"gdb.execute('''\\n\"\n"
  ".ascii \"define set_ts\\n\"\n"
  ".ascii \"    return orig_value\\n\"\n"
  ".byte 0\n"
  ".popsection\n"
);


int main() {

    printf("OK\n");
    return 0;
}