forked from lcatro/vuln_javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbaselib_string.h
More file actions
24 lines (18 loc) · 725 Bytes
/
baselib_string.h
File metadata and controls
24 lines (18 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _BASELIB_STRING_H__
#define _BASELIB_STRING_H__
#ifndef _STRING_
#include <string>
using std::string;
#endif
void trim(string& input_string);
long hex_string_to_number(const string& input_string);
long hex_string_to_number(const char* input_string);
bool check_string(const char* input_string1,const char* input_string2);
unsigned long get_matching_outside_right_bracket(string& express,unsigned long call_index);
unsigned long get_matching_outside_right_brace(string& express,unsigned long call_index);
void filter_useless_char(string& express);
unsigned long conver_coding(char* input_string);
bool init_heap(void);
void* alloc_memory(unsigned long alloc_length);
void free_memory(void* alloc_buffer);
#endif