VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /usr/share/emscripten/src/relooper/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/emscripten/src/relooper/test3.c
#include "Relooper.h"

int main() {
  char buffer[10000];
  rl_set_output_buffer(buffer, sizeof(buffer));

  void *r = rl_new_relooper();
  void *ep = rl_new_block("ep", "the_var");
  rl_relooper_add_block(r, ep);
  void *LBB1 = rl_new_block("LBB1", "the_var");
  rl_relooper_add_block(r, LBB1);
  void *LBB2 = rl_new_block("LBB2", "the_var");
  rl_relooper_add_block(r, LBB2);
  void *LBB3 = rl_new_block("LBB3", "the_var");
  rl_relooper_add_block(r, LBB3);
  void *LBB4 = rl_new_block("LBB4", "the_var");
  rl_relooper_add_block(r, LBB4);
  void *LBB5 = rl_new_block("LBB5", "the_var");
  rl_relooper_add_block(r, LBB5);
  void *LBB6 = rl_new_block("LBB6", "the_var");
  rl_relooper_add_block(r, LBB6);

  rl_block_add_branch_to(ep, LBB1, "ep -> LBB1", NULL);
  rl_block_add_branch_to(ep, LBB3, NULL, NULL);
  rl_block_add_branch_to(LBB1, LBB2, "LBB1 -> LBB2", NULL);
  rl_block_add_branch_to(LBB1, LBB3, NULL, NULL);
  rl_block_add_branch_to(LBB2, LBB3, NULL, NULL);
  rl_block_add_branch_to(LBB3, LBB4, "LBB3 -> LBB4", NULL);
  rl_block_add_branch_to(LBB3, LBB6, NULL, NULL);
  rl_block_add_branch_to(LBB4, LBB5, "LBB4 -> LBB5", NULL);
  rl_block_add_branch_to(LBB4, LBB6, NULL, NULL);
  rl_block_add_branch_to(LBB5, LBB6, "LBB5 -> LBB6", NULL);
  rl_block_add_branch_to(LBB5, LBB5, NULL, NULL);

  rl_relooper_calculate(r, ep);
  rl_relooper_render(r);
  rl_delete_relooper(r);

  puts(buffer);
}


VaKeR 2022