crash.software
Projects
Pull Requests
Issues
Builds
5GReplay
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
5GReplay
Files
🤬
Sign In
643399e2
ROOT
/
src
/
engine
/
gen_code.c
Search
History
1237 lines
|
ISO-8859-1
|
45 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
STR_BUFFER_SIZE
_gen_comment
(
fd,format,...
)
_gen_comment_line
(
fd,format,...
)
_gen_code_line
(
fd
)
_val
(
x
)
_num
(
x
)
_string
(
v,a,b,c,x,y,z
)
MAX_STR_BUFFER
_user_data
uint16_val
:
uint16_t
uint32_val
:
uint32_t
map
:
mmt_map_t*
file
:
FILE*
_variables_struct
proto
:
char*
att
:
char*
data_type
:
uint32_t
proto_id
:
uint32_t
att_id
:
uint32_t
_iterate_variable
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_event_to_gen_guards
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_meta_state_struct
index
:
size_t
description
:
char*
delay
:
rule_delay_t*
transitions
:
link_node_t*
comment
:
char[MAX_STR_BUFFER]
entry_action
:
int
exit_action
:
int
_meta_state_t
:
struct _meta_state_struct
index
:
size_t
description
:
char*
delay
:
rule_delay_t*
transitions
:
link_node_t*
comment
:
char[MAX_STR_BUFFER]
entry_action
:
int
exit_action
:
int
_meta_transition_struct
event_type
:
int
guard_id
:
int
target
:
_meta_state_t*
attached_event
:
const rule_event_t*
comment
:
char[MAX_STR_BUFFER]
action
:
int
_meta_transition_t
:
struct _meta_transition_struct
event_type
:
int
guard_id
:
int
target
:
_meta_state_t*
attached_event
:
const rule_event_t*
comment
:
char[MAX_STR_BUFFER]
action
:
int
_create_new_state
(
size_t
)
{...}
:
_meta_state_t*
_create_new_transition
(
int,int,_meta_state_t*,int,const rule_event_t*,const char*
)
{...}
:
_meta_transition_t*
_gen_transition_rule
(
_meta_state_t*,_meta_state_t*,_meta_state_t*,_meta_state_t*,link_node_t*,const rule_node_t*,size_t*,const rule_t*,int
)
:
void
_gen_transition_rule
(
_meta_state_t*,_meta_state_t*,_meta_state_t*,_meta_state_t*,link_node_t*,const rule_node_t*,size_t*,const rule_t*,int
)
{...}
:
void
_gen_fsm_state_for_a_rule
(
FILE*,const rule_t*
)
{...}
:
void
_iterate_variable_to_print_hash_function_body
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_variables_to_gen_structure
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_variables_to_gen_array_proto_att
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_variables_to_init_structure
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_alnumify
(
uint16_t,const char*,char*,size_t
)
{...}
:
size_t
_is_embedded_function_name
(
const char*
)
{...}
:
bool
_get_if_statisfied_function_name
(
const rule_t*,char*,size_t
)
{...}
:
void
_gen_rule_information
(
FILE*,rule_t*const*,size_t
)
{...}
:
void
_iterate_variable_to_add_to_a_new_map
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_event_to_get_unique_variables
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_variables_to_gen_pointer_proto_att
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_events_to_gen_array_proto_att
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_get_excluded_proto_atts
(
expression_t*,mmt_map_t*,bool
)
{...}
:
void
_iterate_events_to_gen_excluded_proto_att
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_event_to_verify_id
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_variable_to_add_to_a_new_map_2
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_iterate_events_to_get_variables_of_each_event
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_free_a_map
(
void*
)
{...}
:
void
_gen_fsm_for_a_rule
(
FILE*,const rule_t*
)
{...}
:
void
_hash_function
(
const char*,const char*
)
{...}
:
bool
_iterate_variable_if_satisified_to_print
(
void*,void*,void*,size_t,size_t
)
{...}
:
void
_gen_if_satisfied_embedded_function_for_a_rule
(
FILE*,const rule_t*
)
{...}
:
void
_gen_static_functions_to_forward_packets
(
FILE*
)
{...}
:
void
generate_fsm
(
const char*,rule_t*const*,size_t,const char*
)
{...}
:
int
compile_gen_code
(
const char*,const char*,const char*
)
{...}
:
int
All occurrences
Please wait...
Page is in error, reload to recover