All of lore.kernel.org
 help / color / mirror / Atom feed
* List of Binary Files from a recipe
@ 2014-06-05 20:50 Bharath Chandra
  2014-06-05 21:13 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Bharath Chandra @ 2014-06-05 20:50 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

Hi,

I am working on a reverse enginnering project and I want to know by looking
at an executable , the recipe file from which it is generated. So, first I
need to understand by using what commands in a recipe file, we can generate
an executable.

-- 
Thanks & Regards,
Bharath Chandra Elluru.
Contact Number:785-979-4875.

[-- Attachment #2: Type: text/html, Size: 433 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: List of Binary Files from a recipe
  2014-06-05 20:50 List of Binary Files from a recipe Bharath Chandra
@ 2014-06-05 21:13 ` Burton, Ross
  2014-06-05 21:47   ` Bharath Chandra
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2014-06-05 21:13 UTC (permalink / raw)
  To: Bharath Chandra; +Cc: yocto@yoctoproject.org

On 5 June 2014 21:50, Bharath Chandra <ellurubharath29@gmail.com> wrote:
> I am working on a reverse enginnering project and I want to know by looking
> at an executable , the recipe file from which it is generated. So, first I
> need to understand by using what commands in a recipe file, we can generate
> an executable.

If you actually need to know what recipe produced a binary without
instrumenting the binaries, then use the package manager: they all
have a command to tell you what binary package installed a file, and
from the binary package  you can determine the source package, and
that's got the same name as the recipe.

Ross


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: List of Binary Files from a recipe
  2014-06-05 21:13 ` Burton, Ross
@ 2014-06-05 21:47   ` Bharath Chandra
  2014-06-06 21:25     ` Bharath Chandra
  0 siblings, 1 reply; 5+ messages in thread
From: Bharath Chandra @ 2014-06-05 21:47 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 970 bytes --]

Hi Ross,

Thank you for the response.
rpm -qf <filename> would give us the package name.

Thanks,
Bharath


On Thu, Jun 5, 2014 at 4:13 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 5 June 2014 21:50, Bharath Chandra <ellurubharath29@gmail.com> wrote:
> > I am working on a reverse enginnering project and I want to know by
> looking
> > at an executable , the recipe file from which it is generated. So, first
> I
> > need to understand by using what commands in a recipe file, we can
> generate
> > an executable.
>
> If you actually need to know what recipe produced a binary without
> instrumenting the binaries, then use the package manager: they all
> have a command to tell you what binary package installed a file, and
> from the binary package  you can determine the source package, and
> that's got the same name as the recipe.
>
> Ross
>



-- 
Thanks & Regards,
Bharath Chandra Elluru.
Contact Number:785-979-4875.

[-- Attachment #2: Type: text/html, Size: 1579 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: List of Binary Files from a recipe
  2014-06-05 21:47   ` Bharath Chandra
@ 2014-06-06 21:25     ` Bharath Chandra
  2014-06-06 21:32       ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Bharath Chandra @ 2014-06-06 21:25 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]

Hi Ross,

Using rpm, I was able to trace back recipe files for all the files except
for files in a folder called as media. When I try to trace for any file
inside media, it does not show me any package name. Could anyone please
tell me what is this media folder??

Thanks & Regards,
Bharath Chandra Elluru


On Thu, Jun 5, 2014 at 4:47 PM, Bharath Chandra <ellurubharath29@gmail.com>
wrote:

> Hi Ross,
>
> Thank you for the response.
> rpm -qf <filename> would give us the package name.
>
> Thanks,
> Bharath
>
>
> On Thu, Jun 5, 2014 at 4:13 PM, Burton, Ross <ross.burton@intel.com>
> wrote:
>
>> On 5 June 2014 21:50, Bharath Chandra <ellurubharath29@gmail.com> wrote:
>> > I am working on a reverse enginnering project and I want to know by
>> looking
>> > at an executable , the recipe file from which it is generated. So,
>> first I
>> > need to understand by using what commands in a recipe file, we can
>> generate
>> > an executable.
>>
>> If you actually need to know what recipe produced a binary without
>> instrumenting the binaries, then use the package manager: they all
>> have a command to tell you what binary package installed a file, and
>> from the binary package  you can determine the source package, and
>> that's got the same name as the recipe.
>>
>> Ross
>>
>
>
>
> --
> Thanks & Regards,
> Bharath Chandra Elluru.
> Contact Number:785-979-4875.
>



-- 
Thanks & Regards,
Bharath Chandra Elluru.
Contact Number:785-979-4875.

[-- Attachment #2: Type: text/html, Size: 2597 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: List of Binary Files from a recipe
  2014-06-06 21:25     ` Bharath Chandra
@ 2014-06-06 21:32       ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2014-06-06 21:32 UTC (permalink / raw)
  To: yocto

On 2014-06-06 15:25, Bharath Chandra wrote:
> Hi Ross,
>
> Using rpm, I was able to trace back recipe files for all the files except for files in a folder called as media. When I try to trace for any file inside media, it does not show me
> any package name. Could anyone please tell me what is this media folder??

/media is where alternative devices, e.g. a USB stick, are mounted.
The contents of /media are not part of the main root file system, thus
you won't find them in any package manager database.

> On Thu, Jun 5, 2014 at 4:47 PM, Bharath Chandra <ellurubharath29@gmail.com <mailto:ellurubharath29@gmail.com>> wrote:
>
>     Hi Ross,
>
>     Thank you for the response.
>     rpm -qf <filename> would give us the package name.
>
>     Thanks,
>     Bharath
>
>
>     On Thu, Jun 5, 2014 at 4:13 PM, Burton, Ross <ross.burton@intel.com <mailto:ross.burton@intel.com>> wrote:
>
>         On 5 June 2014 21:50, Bharath Chandra <ellurubharath29@gmail.com <mailto:ellurubharath29@gmail.com>> wrote:
>         > I am working on a reverse enginnering project and I want to know by looking
>         > at an executable , the recipe file from which it is generated. So, first I
>         > need to understand by using what commands in a recipe file, we can generate
>         > an executable.
>
>         If you actually need to know what recipe produced a binary without
>         instrumenting the binaries, then use the package manager: they all
>         have a command to tell you what binary package installed a file, and
>         from the binary package  you can determine the source package, and
>         that's got the same name as the recipe.
>
>         Ross
>
>
>
>
>     --
>     Thanks & Regards,
>     Bharath Chandra Elluru.
>     Contact Number:785-979-4875 <tel:785-979-4875>.
>
>
>
>
> --
> Thanks & Regards,
> Bharath Chandra Elluru.
> Contact Number:785-979-4875.
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-06 21:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-05 20:50 List of Binary Files from a recipe Bharath Chandra
2014-06-05 21:13 ` Burton, Ross
2014-06-05 21:47   ` Bharath Chandra
2014-06-06 21:25     ` Bharath Chandra
2014-06-06 21:32       ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.