Skip to content

Instantly share code, notes, and snippets.

@agentzh

agentzh/after.c Secret

Created October 31, 2023 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agentzh/928a2cda402fe6a0fee24fff941e68c4 to your computer and use it in GitHub Desktop.
Save agentzh/928a2cda402fe6a0fee24fff941e68c4 to your computer and use it in GitHub Desktop.
if ((((l->l_tm) > (((int64_t)3LL))))){
{
if (c->locked == 0) {
if (!stp_lock_probe(locks, ARRAY_SIZE(locks)))
goto out;
else
c->locked = 1;
} else if (unlikely(c->locked == 2)) {
_stp_error("invalid lock state");
}
l->__tmp13 = l->l_my_pid;
_stp_map_del_ii (global(s___global_begin_tm), l->__tmp13);
l->__tmp14 = l->l_my_pid;
_stp_map_del_ii (global(s___global_saved_timeout), l->__tmp14);
goto out;
}
}
if (c->locked == 0) {
if (!stp_lock_probe(locks, ARRAY_SIZE(locks)))
goto out;
else
c->locked = 1;
} else if (unlikely(c->locked == 2)) {
_stp_error("invalid lock state");
}
(void)
({
l->__tmp15 = l->l_my_pid;
l->__tmp16 = l->l_tm;
c->last_stmt = "identifier 'saved_timeout' at by-pid.stp:14:5";
l->__tmp17 = l->__tmp16;
{ int rc = _stp_map_set_ii (global(s___global_saved_timeout), l->__tmp15, l->__tmp17); if (unlikely(rc)) { c->last_error = "Array overflow, check MAXMAPENTRIES"; goto out; }};
l->__tmp16;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment