File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,21 +198,6 @@ shiva_interp_mode(struct shiva_ctx *ctx)
198198 ctx , elf_pathname (& ctx -> ldsobj ));
199199 return false;
200200 }
201- /*
202- * Get the entry point of the target executable. Stored in AT_ENTRY
203- * of the auxiliary vector.
204- */
205- if (shiva_auxv_iterator_init (ctx , & auxv_iter , NULL ) == false) {
206- fprintf (stderr , "shiva_auxv_iterator_init failed\n" );
207- return false;
208- }
209- while (shiva_auxv_iterator_next (& auxv_iter , & auxv_entry ) == SHIVA_ITER_OK ) {
210- if (auxv_entry .type == AT_ENTRY ) {
211- entry_point = auxv_entry .value ;
212- shiva_debug ("[2] Entry point: %#lx\n" , entry_point );
213- break ;
214- }
215- }
216201 /*
217202 * We must create a new stack before passing control to LDSO. Normally in interpreter
218203 * mode it wouldn't matter since we can just re-use the stack, auxv, etc. In our case
You can’t perform that action at this time.
0 commit comments