Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- UKPT
- 정보보안
- MITRE ATT&CK
- 불법유통
- 대외활동
- codeup
- 파이썬
- suninatas
- 국정원
- 도구모음
- PHP
- 화학물질불법유통온라인감시단
- 국가정보원
- 프로젝트
- 웹 해킹 입문
- UKPT level
- 기타정보
- 화학물질
- 연구모임
- Service
- nurisec
- 12기
- 국가기록원
- 화학물질안전원
- 여행
- Los
- 경기팀
- webhacking
- HTML
- 불법유통근절
Archives
- Today
- Total
목록2024/12/17 (2)
agencies
BoB 프로젝트(초안-3) : backup용
보호되어 있는 글입니다.
Ⅴ. 프로젝트
2024. 12. 17. 16:47
정규표현식을 이용하여 C 언어에서 함수 추출해보기! 2탄!
import redef extract_user_defined_function_names(file_path): with open(file_path, 'r') as file: code = file.read() # Improved regex pattern to handle attributes and complex declarations function_pattern = re.compile( r'\b(?:static|extern|inline)?\s*' # Optional specifiers r'(?:__attribute__\s*\(\([^)]*\)\)\s*)*' # Optional __attribute__ specifier r'(?:v..
Ⅰ. 프로그래밍
2024. 12. 17. 00:44