ELFIO
                                
                                 ELFIO copied to clipboard
                                
                                    ELFIO copied to clipboard
                            
                            
                            
                        Loading elf from buffer
For example https://www.psdevwiki.com/ps4/SELF_File_Format SELF files contains elf in a specific offset , so loading from buffer might be useful for these cases .
Please have a look at elfio::set_address_translation() and address_translator class.
The API permits address transformation for loading from a buffer at arbitrary offset.
Is it what you are looking for?
hmm that might do the trick ,will check and tell you :)
Have you had a chance to check?
not yet actually but i am adding some ps4 specific elf stuff in elfio https://github.com/shadps4-emu/ext-ELFIO
No news for a long time. The referred repo doesn't exist anymore. Please feel free to reopen if new information is available.